Create a new JSP file

Hi,
How do I insert a new JSP file (yet to be programmed / designed) into PORTAL-INF/jsp folder in an new EP project. I do not find any options to it. Kindly help me with steps.
Cheers!!
Sukanta Rudra

Hi There !
Right Click the PORTAL-INF/jsp Folder.
Select New -
Other.
A Dialog Box Appers.
in that Select Simple--File.
Click Next.
Enter the File Name e.g Test.jsp.
Click Finish.
Thats it.
Cheers !
Regards,
Rajendra

Similar Messages

  • How to create a New Excel File programmatically

    Hi !
    I am documenting acquired data continuously in an excel file, what I need to do is to create a new excel file automatically when the size of the previous file exceeds a certain limit lets say 1MB.
    I have tried using the simple 'Create/Open File' function and the 'Write to Spreadsheet File' function to create the new excel file. I does create a file but when I open the file it says the format of the file is not what you have opened it with.
    Also when the new file is created, three new worksheet are to be added programmatically with pre-defined worksheet name and also Column headers for each of the worksheet are to be added.
    I am also using 'Labview Report Generation Toolkit for Office'.
    Regards,
    Reeves
    Solved!
    Go to Solution.

    @ Aldo A
    Thanks for the reference to tutorial, I didn't know about them. They are useful in general but unfortunately they don't answer the problem of creating an altogether new excel file programmatically.
    @ ben64
    The template thing simplifies the issue of formatting the new file. But I am still working on the new excel file creation challenge.
    Let me put my problem in a different way.
    Certain data is being acquired continually and is being written to a certain excel file, when the size of the file exceeds lets say 1MB the program should start saving the data in a NEW FILE instead of the previous file.
    I have attached the VI to explain what I am trying to achieve here.
    Reeves
    Attachments:
    New Microsoft Office Excel Worksheet.zip ‏30 KB

  • Issue in creating a new JSP in Quoting

    I have created a new JSP in the quoting. That JSP is displaying the data properly but the cue card menu is not visible in that JSP. Is there any mapping need to be done to make it visble.

    Thank you for the response.
    The JSP has a function defined in the menu structure. For a trial I copied an existing jsp into another and called the copied one. the side menu bar did not get displayed, but the content got displayed.
    Can you please tell me, if we create a new JSP page how many mappings need to done and what are they.

  • Help with creating a new XML file from an existing DOM tree!!

    i want to create a new XML file from an existing DOM tree
    i used this code to create a new document:
    static public Document createDocument(String fileName) throws ParserConfigurationException//,IOException,SAXException
              try {
                   DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   factory.setIgnoringComments(true);
                   factory.setIgnoringElementContentWhitespace(true);
                   factory.setValidating(true);
                   DocumentBuilder builder =factory.newDocumentBuilder();
                   return builder.newDocument();
    //          handle exception creating DocumentBuilder
              catch ( ParserConfigurationException parserError ) {
                        throw new ParserConfigurationException();
              }then i used this code to transform the DOM :
    public void exportDocument(Document document) {
              try {
                   Source xmlSource = new DOMSource( document );
                   Result result = new StreamResult( System.out );
                   TransformerFactory transformerFactory =
                        TransformerFactory.newInstance();
                   Transformer transformer =transformerFactory.newTransformer();
                   transformer.setOutputProperty( "indent", "yes" );
                   transformer.transform( xmlSource, result );
           //then catching the exceptions
    But the file was not created and i didn't find where can i specify the DTD that the XML file should use and where can i enter the name of the XML file itself
    Another questoin can i write a DTD file dynamically during the execution of the program??

    Cross-post: http://forum.java.sun.com/thread.jspa?threadID=784467&messageID=4459240#4459240

  • Java code to create a new .txt file in FTP server  --- Help

    Hi,
    I wrote a standalone java app which creates a .txt file in my local machine and transfers it to FTP server. But my requirement now is to create a new .txt file with the same content in FTP server itself instead of creating locally with basic java code.
    I'm aware of transfering file from local machine to the FTP server using STOR command of FTP. But i never tried creating a new file & writing content into that in FTP server.
    So, if any one did this before please help me out with source code or any idea ???
    Thank you.
    Vj.

    simply_vijay wrote:
    thanks for your reply. yes i've seen the Apache Commons NET API , but there is no method or class to create a new file in FTP server. I'm really worried how to solve this problem ???Sure there is.
    There's a method where you can write data to a file on the server using an OutputStream, right? Well, instead of writing to a FileOutputStream, write to that OutputStream instead. Remember to close the OutputStream and call the method which says you're finished with the command (I forget what it's called).

  • When I open iTunes, I get a message that "iTunes has stopped working".  I've tried reinstalling itunes, creating a new user file, changing the startup programs, and am having no success in getting iTunes to stay open. Any "fixes" for this problem?

    When I open ITunes, I get a message that "iTunes has stopped working".  I have tried reinstalling iTunes, creating a new user file, changing the startup programs in accordance with articles in iTunes troubleshooting, but am having no success in getting iTunes to stay open.  Any fixes for this problem?

     

  • Is it possible to open a new Worksheet without creating a new *.sql file

    Hello Community,
    Declaimer: It may be a trivial question. I just willing to make SQL Developer my default day to day tool.
    I is possible to open a new Worksheet without creating a new *.sql file. Like in an MS Word. If I just need some space to write something and than destroy the file without saying. I can quickly click < ctrl + N > and get the space.
    In SQL Developer to get a new "space"/work sheet i
    -a- < ctrl + N >
    -b- choose "SQL File"
    -c- confirm default location
    -d- choose the connection to be used (right top conner)
    This process is way to long for getting a new sheet to put write an SQL.
    Can you suggest a better way to get a workspace with current connection assigned in no time (like in MS Word)?
    Please ;)
    Yury

    There is no need to create new .sql file.
    I don't know why you need new SQL Worksheet when you can simply do the space by pressing Enter, but you can open a new one from Tools -> SQL Worksheet. There is also a toolbar button for this.

  • How to create a new txt file on the hard disk?

    Which method in which class should I use?

    there are documantatiosn and tutorials :
    createNewFile :
    "Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name does not yet exist. The check for the existence of the file and the creation of the file if it does not exist are a single operation that is atomic with respect to all other filesystem activities that might affect the file. This method, in combination with the deleteOnExit() method, can therefore serve as the basis for a simple but reliable cooperative file-locking protocol.
    Returns:
    true if the named file does not exist and was successfully created; false if the named file already exists"

  • Create a new trace-file

    hello together,
    i have a question according to creation of new user trace files in user_dump_dest:
    with the following command:
    EXEC dbms_system.set_sql_trace_in_session(18,628,TRUE);
    I created a new file in the trace directory.
    Then I stopped the tracing with:
    EXEC dbms_system.set_sql_trace_in_session(18,628,FALSE);
    I disconnected with the traced session sid=18 and connected once again.
    With retracing the session I didn't get a new trace file but the existing trace file was actualized.
    => what do I have to do to achive a new trace file for the second session-tracing?
    Thanks and Regards
    Stefan

    Hello Maran,
    I only want to trace one session; but I want to create a new trace file for the second run when tracing; but at the moment the first trace file will be continued...
    thanks

  • Create a new video file by editing & clipping old video?......Premiere CS4

    How do I take an existing video file (.wav, .mpeg, etc...) & delete unwanted footage to create a new video file? I currently have some video footage of my family but the sound & video dont play synced togather in Premiere? Any suggestions......?

    The first two concerns are the source footage and then the Project/Sequence Preset.
    What are these? This answer will direct others on how they suggest that you proceed.
    For OOS issues, having your source footage in the proper format will go a long way to solving such issues. For "fixing" OOS, this ARTICLE might be useful.
    Good luck,
    Hunt

  • Create a new HTML file by changing attributes

    Hello, I am going to add some attributes to create a new html file.
    Such as
    <div id="globalWrapper">becomes
    <div id="globalWrapper" style=...>I have completed partial task, but I have trouble on how to save it to a new file.
    Please look at my code.
    import java.awt.Point;
    import java.io.*;
    import java.util.*;
    import javax.swing.text.EditorKit;
    import javax.swing.text.MutableAttributeSet;
    import javax.swing.text.html.HTML;
    import javax.swing.text.html.HTMLDocument;
    import javax.swing.text.html.HTMLEditorKit;
    import javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction;
    import javax.swing.text.html.parser.ParserDelegator;
    public class ReadTest extends HTMLEditorKit.ParserCallback
         public void handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos){
             if     (
                         (t == HTML.Tag.BR)   ||
                         (t == HTML.Tag.DIV)  ||
                         (t == HTML.Tag.P)    ||
                         (t == HTML.Tag.UL)   ||
                         (t == HTML.Tag.UL)   ||
                         (t == HTML.Tag.DD)   ||
                         (t == HTML.Tag.BR)   ||
                         (t == HTML.Tag.H1)   ||
                         (t == HTML.Tag.H2)   ||
                         (t == HTML.Tag.H3)   ||
                         (t == HTML.Tag.H4)   ||
                         (t == HTML.Tag.H5)   ||
                         (t == HTML.Tag.H6)  
             a.addAttribute(HTMLEditorKit.ParserCallback.IMPLIED,"style=");// right or wrong? Then what?
             System.out.println(a);
        public static void main(String argv[]) {
        try {
            Reader r = new FileReader("C:/test.html");
            ParserDelegator parser = new ParserDelegator();
            HTMLEditorKit.ParserCallback callback = new ReadTest();
            parser.parse(r, callback, true);
            EditorKit kit=new HTMLEditorKit();                       
            HTMLDocument doc=(HTMLDocument)kit.createDefaultDocument();  
      } catch (IOException e) {
            e.printStackTrace();
    }Thanks

    The first two concerns are the source footage and then the Project/Sequence Preset.
    What are these? This answer will direct others on how they suggest that you proceed.
    For OOS issues, having your source footage in the proper format will go a long way to solving such issues. For "fixing" OOS, this ARTICLE might be useful.
    Good luck,
    Hunt

  • Create a new password file

    Please, how do I Create a new password file.
    i am trying to change dbid of my database, Do I need to delete the old password file, and create a new one by using the orapwd utility, or does orapwd utility overwrite the old one, thanks.

    You do not have to delete the old password file. No, you have to:
    test$ ls orapw*
    orapwGX
    test$ pwd
    /opt/oracle/Ora10gR2/dbs
    test$ orapwd file=/opt/oracle/Ora10gR2/dbs/orapwGX entries=5 password=none
    OPW-00005: File with same name exists - please delete or renameYoann.

  • Create a new log file every hour

    I have a program which receives measurement data and writes this data to TDMS file. However, I want to create a new TDMS file every hour. When I put a while loop in mu sub vi which creates the new file the program doesn't run. I have attached the sub vi. Can anyone help me out here?
    Cheers
    Attachments:
    ConfigTDMS (SubVI)_loopTDMS.vi ‏16 KB

    One trick for doing this is to prepend the file name with YYJJJHH See example
    Then just check if file exists (if not create and add headder) when you write to file.
    This also generates the reports in "alphabetical" order so windows explorer presents them chronologically.
    Jeff

  • How to create a new excel file using Excel Destination when Destination file not exists.

    how to create a new excel file using Excel Destination when Destination file not exists.

    Just need to set an expression for excel connectionstring and set delay validation to true and it will create it on the fly.
    The expression should return the full path with dynamic filename in each case.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How do I create a new .DS_Store file for the Desktop?

    I have an account, in this case it is the System Administrator account (which I seldom use), where the Desktop icons all scrunch up to the right side of the screen. I can re-arrange them, but when I log out and sign back on, the icons are shifted back to the right side of the screen. I thought perhaps I had a corrupted .DS_Store file that needed to be removed. However, it turns out that I can find no .DS_Store file to remove for this account. Finder just doesn't seem to be able to create a new one. I'm not sure how or when the old one disappeared.
    Any suggestions how I can get the Finder or something else to create a new .DS_Store for the Desktop so that icons will stay put?

    I think I found an answer (not a solution) to my problem. Consulting with Apple Support, there is no way for the System Administrator's desktop to "remember" the positions of icons from one session to the next. They will always move to the right-hand side of the screen when you log back in. Apparently this is a change that occurred with OS 10.6.4. No reason by Apple given for the change, nor is it readily apparent to me why the Desktop or Finder in the System Admin account should work any differently than in any other account. Might simply be an oversight or a bug.
    If anybody has a fix, I would appreciate learning about it.

Maybe you are looking for

  • Headset controller not working on iPhone 4 with ios7.04

    Trying to connect a new headset with in-line controller/mic to iPhone 4/ios7.04. Music plays fine but no controls, i.e pause, play, skip etc. Same headset works on my daughter's iPhone 4.  Is this a simple fix, i.e. change settings,  or is there some

  • WCF OData Service stored procedure call generates "Operation could destabilize the runtime" error with $select option

    I've been trying to call a stored procedure through Entity Framework and WCF Data Services (OData). It returns an entity not a complex type. Following walkthroughs found all over the web, I came up with this code inside my service: [WebGet] public IQ

  • Upgrading iTunes to 7.0.2

    I just got a new iPod today (lost my old one) and already have iTunes. My new iPod needs to have 7.0.2 so when I go to the internet to download it, it just brings up the Apple Music Store and then does nothing else. What am I doing wrong?

  • Etting NoBodyOutput Stream exception when client does a HEAD request

    We are running weblogic server 4.5.1 sp 4 on solaris, using jre 1.1.7.           The message appears when our load balancer apparently does a head           command on the server.           Please help.           -Kelly Felkins           kelly@double

  • IPhone 6 Plus headache and migraine

    Been buying new iPhones every year since they have been released.. Received my new iPhone 6 plus last Friday the 19th on launch date and was super excited! After owning the phone for a day, I started to notice that I have a really bad headache.  Been