[b]jsp file naming conventions[/b]

I have heard that if name any jsp file with some capital letter it can create some problem
Is it avoidable to have any capital letter in jsp file name?
For example should I use login.jsp or Login.jsp ? (Which one is advisable?)
Please suggest me.
Thanks
Nitin

I have had JSPs with capital letters and have had no problems with them on Tomcat 5.0, not sure if there would be problems with other servers, but I doubt it...
It comes down to convention. I prefer the all lower case because it makes typing the URL into the addressbar easier. But that is just me. (I also tend to give the application WAR files a capitalized name, like /MyApp/login.jsp but AFAIK, there is no reason to do it this way...)

Similar Messages

  • Output CSV File Naming Convention - Receiver File Adapter

    Dear SAP experts,
    I need help regarding my scenario.
    My scenario is this, Customer will send EDI message to XI. XI will then translate the message and convert it into XML.. After, a Receiver File Adapter will receive the XML then convert it into .csv file.
    I've already configured the Receiver File Adapter to convert the XML into .csv file.
    But, my problem now is how will I configure to have my output .csv file has a File Naming Convention.
    The output .csv file must be "CustomerName_YearMonthDate".
    From the EDI message, there is indicated Sender GLN in which, each customer has its own Sender GLN.
    E.g., Globus --> 200, Karstadt --> 300,  Metro --> 400.
    How will I configure so that I can have an output .csv file of,
    If Globus sends the EDI message, the output .csv file is Globus_20080304.csv.
    If Karstadt, Karstadt_20080304.csv.
    If Metro, Metro_20080304.csv.
    Kindly advise for a clear and complete solution.
    Thank you very much for your usual support.
    Fred

    Hi Nisar,
    My target message (XML) in the mapping is this,
    - <ns0:CSV>
        -  <SLI>
               <PERIO> </PERIO>
               <ILN> </ILN?
               <EAN> </EAN>
    perio, iln, and ean was rooted on SLI field. and the CSV is the rootnode of the target message.
    I have created a UDF on the message mapping to accomodate the output customer name, here is the codes:
    String fname="";
    if(GLN.equals("23456"))
    fname ="Globus" +dat;
    else if(GLN.equals("5678"))
    fname ="Karstadt"+dat;
    else if(GLN.equals("6789"))
    fname ="Metro"+dat;
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
        "http://sap.com/xi/XI/System/File",
        "FileName");
        conf.put(key,fname );
    E.g.,
    Globus --> 23456 (Sender GLN)
    Karstadt --> 5678 (Sender GLN)
    Metro --> 6789 (Sender GLN)
    This UDF i've made in the Message Mapping was mapped in the root node CSV.
    Is this UDF correct?
    Then on the File Receiver Configurations, here are the configs,
    Transport Protocol: File System (NFS)
    Message Protocol: File Content Conversion
    Adapter Engine: Integration Server
    File Access Parameters
    Target Directory: /var/opt/gsss/sample/csv
    File Name Scheme: .csv
    Processing Parameters
    File Construction Mode: Create
    - Overwrite Existing File
    Write Mode: Directly
    File Type: Text
    Variable Substitution --> ???
    Adapter Specific Message Attributes
    - Use Adapter-Specific Message Attributes
    - Fail if Adapter-Specific Message Attributes Missing
    - File Name
    Run Operating System Command After Message Processing
    Command Line: chmod 664%F
    Content Conversion Parameters
    Recordset Structure: SLI
    SLI.addHeaderLine: 3
    SLI.headerLine: PERIO;ILN;EAN
    SLI.fieldSeparator: ;
    SLI.endSeparator: 'nl'
    Adapter Status:
    Status: Active
    Kindly advise if my configs are correct.
    Thank you very much!
    Fred

  • Regarding file naming convention(while publishing a file to FTP)

    Hi,
    In one of our usecases, we need to configure the file name based on the client’s requirement.(to place the file in FTP. But the file name should be customized by us.) We referred to the link given below.
    http://www.b2bgurus.com/2008/04/customizing-file-naming-convention-in.html
    Can you please briefly explain about where should we setup the 'macro' so that we can change the file name(which will be placed in FTP) as we like.
    Thanks,
    Shanmuga S.
    Edited by: user655473 on 16 Oct, 2008 11:42 AM

    Hi,
         As you said we had applied the patch(number 7233222).In the Transport parameter, we entered the values for 'filename format' as given in the link,
         http://www.b2bgurus.com/2008/04/customizing-file-naming-convention-in.html.
         But we couldn't put the file in FTP.
         Our usecase is to send file(with customized name) to FTP.
         Before applying the patch, this scenario works fine and we could put the file into FTP. In this case the default file name is '%FROM_PARTY%_%TIMESTAMP%.dat'.
         After applying the patch (number 7233222), we got the entry 'filename format' in 'Transport parameter'. There the default value is given as '%FROM_PARTY%_%TIMESTAMP%.dat'. But in this flow(after applying patch) we couldn't put the file in FTP. No error logs were seen in b2b.log file.
         In 'b2b_dc_transport.log' file, we were getting the following logs,
         "2008.10.17 at 19:47:16:273: Thread-20: (DEBUG) FTPAgent.login(): Enter
         2008.10.17 at 19:47:16:273: Thread-20: (DEBUG) Host name is 'PC022350.cts.com'.
         2008.10.17 at 19:47:16:289: Thread-20: (DEBUG) Host PC022350.cts.com FTP command: USER sss
         2008.10.17 at 19:47:16:289: Thread-20: (DEBUG) FTP Command: USER, reply:
         331 Password required for sss
         2008.10.17 at 19:47:16:289: Thread-20: (DEBUG) Host PC022350.cts.com FTP command: PASS
         2008.10.17 at 19:47:16:289: Thread-20: (DEBUG) FTP Command: PASS, reply:
         230 Logged on
         2008.10.17 at 19:47:16:289: Thread-20: (DEBUG) FTPAgent.login(): Exit
         2008.10.17 at 19:47:16:289: Thread-20: (DEBUG) Host PC022350.cts.com FTP command: PASV
         2008.10.17 at 19:47:16:289: Thread-20: (DEBUG) FTP Command: PASV, reply:
         227 Entering Passive Mode (10,232,65,97,7,197)
         2008.10.17 at 19:47:16:289: Thread-20: (DEBUG) Passive: ip = 10.232.65.97, port = 1989
         2008.10.17 at 19:47:16:289: Thread-20: (STATUS) Connecting to PC022350.cts.com:1989
         2008.10.17 at 19:47:16:289: Thread-20: (DEBUG) Host PC022350.cts.com FTP command: NLST /FTP/Acme
         2008.10.17 at 19:47:16:289: Thread-20: (DEBUG) FTP Command: NLST, reply:
         150 Connection accepted
         2008.10.17 at 19:47:16:304: Thread-20: (ERROR) FTPClient.listNames(): LIST REPLY: 226
         2008.10.17 at 19:47:16:304: Thread-20: (DEBUG) Disconnecting from PC022350.cts.com
         2008.10.17 at 19:47:16:304: Thread-20: (DEBUG) Host PC022350.cts.com disconnected."
         Please help us in resolving this issue.
    Thanks,
    Shanmuga S.
    Edited by: ShanmugaS on 17 Oct, 2008 7:51 PM
    Edited by: ShanmugaS on 17 Oct, 2008 7:52 PM

  • TMG Logs file Naming Convention

    Hi,
    Can i change the TMG logs file naming convention. I am using Wc3 Extended log file format.
    Default is: ISALOG_yymmdd_FWS_nnn
    Want to change in ISALOGTMG01_yymmdd-FWS_nnn
    Thanks

    Hi,
    I haven't seen a way to change the log name. But you could change the location of the log to ISALOGTMG01 folder you created. Can this help?
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • .tpz files naming convention / export from PI 7.0

    Hi,
    When I export the repository or Directory content from PI 7.0 the naming convention PI gives its own naming convention. Starting wit XI3_0 * .tpz
    Why does it start with XI3_0*.tpz for we have PI 7.0?
    Do we need to change any Visual admin or exchange profile parameter to get the naming convention to PI7_0*.tpz
    Thanks
    Sachin

    Hi,
    The import and export functionality of XI 7.0 uses the expression 'XI 3.0' instead of 'XI 7.0' in all transport screens of the Integration Builder. Furthermore the name of XI 7.0 exports will always start with the prefix 'XI_3_0' and not 'XI_7_0'.
    <b>Reason and Prerequisites</b>
    The reason for this behaviour is that the transport code and format of XI 7.0 and XI 3.0 is identical.
    <b>Solution</b>
    There is no fix for the naming convention, but there is a positive consequence: XI 3.0 export files can be produced by XI 3.0 and XI 7.0 and can be imported into XI 3.0 and XI 7.0.
    Refrence Note
    Note 936254 - XI 3.0 Imports and Export in XI 7.0
    Award points if helpful.
    Thanks,
    Tanuj

  • Data file naming convention!

    Hi,
    My question might be silly but I am not sure about the naming convention of my control/log/dbf file. I am oracle 11g and asm is configured with OMF enabled. When I checked the filename, I am getting filename with some numbers. What is that number refers to.
    ASMCMD> ls
    EXAMPLE.265.790927371
    ONKAR.267.791219239
    SYSAUX.257.790927221
    SYSTEM.256.790927219
    UNDOTBS1.258.790927221
    USERS.259.790927223
    ASMCMD> Could anyone please tell me what these numbers represents? I tried google but did not got any reasonable answers.
    -Onkar

    sybrand_b wrote:
    I just searched the documentation on your behalf (as you know, the documentation is that what most people here refuse to read and avoid at all cost)
    and came up with http://docs.oracle.com/cd/E11882_01/server.112/e25494/omf003.htm#ADMIN11492
    by simply typing 'Oracle Managed Files' in the search bar.
    I think ASM naming is different from OMF. The default OMF % formats are not used with the fully qualified name. its an ASM system generated dotted pair in the format
    +diskgroup/dbname/filetype/filetypetag.file.incarnation
    http://docs.oracle.com/cd/E11882_01/server.112/e18951/asmfiles.htm#i1010333
    EDIT: cross post with previous poster. same info.
    Edited by: deebee_eh on Aug 13, 2012 11:22 AM

  • Publication\Zip file naming convention

    Hi Folks,
    In XI3.1 when you schedule a Publication and select zip file package as format the documents inside the Publication get named like: "tempWebiArtifact35744728274_2.PDF" 
    Any idea why we have this unusual naming convention?
    Kind regards,
    John

    Developers of this feature think that is normal to have files named like "blablablah", but customers dont think so.

  • Color File Naming Conventions

    As color creates the color corrected files of my footage, it has changed the name of the file. This would not be a problem, except that each reel creates the exact file names. Although it is in a separate reel folder, shot one in reel one is named the exact same as shot one in reel two. So I have a set of folders that all contain the exact same file names. Is there any way to keep the original file names in the color corrected files (or at least part of the same name)? I have looked for this topic and have found nothing, so I am sure that there is a way around this.

    No is the easy answer. At first, I thought this thread would be about illegal characters in the clip names, but...
    COLOR renders each clip into its own clip/sub directory as you have found... clip one will be in directory "1" containing a clip named, for example 1_g1.mov -- look familiar? Even though the original "names" appear on the timeline, both in COLOR and once returned to FCP- they're really pointing to these guys.
    Kind of a pain in the neck, especially since it is advised policy to cut up a project of appreciable length into "reels" roughly corresponding to 2,000' 35mm mags. But as you have found, each contributing sequence gets its own COLOR project and 'clip one' is 'clip one' in all of them. Basically, this is attributable to Final Touch being designed to be a DI/filmout application, and the sequentiality contributes to easing #####.dpx files through the process.
    Doesn't really help the Quicktimers much, does it? You might be able to re-name your rendered media, if you really, really have to, by using .... [html: add reverb and echo here].... Media.... Manager..... [/reverb and echo] ;0) [evil laughter] Oh, come on, if this isn't any fun, don't do it!
    Oh, Media Manager may return names from a rebuilt/sequence-merged project in which the clips will be in the form... 1_g1-v, 1_g1-2-v. 1_g1-v-3, and so on, depending on which layer it processes first.... (I think...) ...so 1_g1-2-v is not necessarily the first clip in "Act 2"... but we're hyper-intelligent and can figure it out anyway, right?
    jPo

  • File Naming Conventions

    I have a tutorial made up of several modules, each one a
    separate project. all linked very nicely with buttons that open
    other projects, and it works like a charm. However, when I need to
    update one of the modules of this multi-module tutorial, the
    webmaster has asked me to name the new files uniquely. How can I
    name the files uniquely, when the file project name stays the same,
    and the project names are embedded in the projects they link with?
    Do any of you have suggestions how I can ensure that the correct
    file gets uploaded, and the correct file gets overwritten on the
    website?

    Hi linda@harvard
    I am assuming that these modules are already loaded and that
    you need to replace one or two modules. If this is the case, then
    point out to the webmaster that you do not want additional files
    loaded, but need to replace ones in existence already. Secondly, if
    these files are already loaded, then they already have "unique"
    names which were accepted by the webmaster in the first place. I
    might be wrong, but from your posting it seems as though your
    webmaster wants you to "version" control your files and this is
    irrelevant and counter productive in the case of these projects as
    it is a simple replace operation that is required.
    Cheers
    Andrew

  • File Adapter - file naming convention

    We are on SP11.
    Is is possible to have customer defined file name. I would like to create text file with timestamp but with my own date time format.
    Thank you,
    Parimala

    Michal,
    We just got on SP12.
    I'm now trying to enter variable data for the file adapter. In the file name, I have %var1%
    I selected active flag in Adapter status, as per help.sap, I need to see a table so I can enter var1 with ref field (from payload).
    I don't see any table for that. I do see Adavance Mode and when I select this I see additional parameters. Is it here?
    SAP help ref - Variable Substitution
    If you set the Active indicator, you can enter variables for the Target Directory and File Name Schema. Enter the variable names and references in the table.
    Can you tell me where can I find Active indicator. We are SP12. Thanks, Parimala

  • Jar file naming conventions

    Why do some jar's have version numbers and some don't? And I'm talking about the same exact jar file even. For instance, you might have something like xerces.jar and xerces-2.1.jar -- this is not a real example, I'm not sure what the xerces jar is actually called.

    If you know that you're going to have plenty of versions release then sticking the version in the filename seems a good idea.
    Or not.
    You can do as you like.

  • What is the PDF (book) file naming convention for iTunes?

    I need to re-import my PDFs after migrating from "Windows XP to Windows 7, as the PDFs were not included in the Libary XML.
    What should the PDF file names be so that when each is imported, it will reconize the Author and Title, and I won't need to manually
    edit these using "Get Info".   I tried <Author> - <Title>.pdf, with a space-hyphen-space betwwen Author and title, but that didn't work.
    I have "keep iTunes media folder organized" checked, so Author folders are auto-created.
    Thanks!

    When you add a PDF to iTunes it normally sets the filename as the book name. As far as I'm aware iTunes doesn't attempt to extract any other metadata from the PDF even if it is present. If you let iTunes organize your files then after setting the author and title it will move to ...\<Media Folder>\Books\<Author>\<Title>.pdf.
    tt2

  • Script file naming conventions & behaviour from gui

    (I'm sure there is documentation out there for this topic somewhere, but searches are next-to useless because the words are all so common... ".command", script, etc...)
    I'm accustomed to writing legit cli programs in xcode, but I occasionally just want to slap down a few lines of shell script and make it executable. I'm wondering what filename extension(s) to use and, (since I'm used to shell commands, but new to script files), what else there is to know. I've read that with, say, ...sh scripts, in addition to an appropriate hashbang in the script, '.sh' would be an appropriate file-name extension. I've seen and tried using 'foo.command' though and can then run the script by double-clicking it as well as typing its path from a shell. Is '.command' really an OS X thing? Are there other tricks I should know or things to be careful about? Also, is there any way to run (non-interactive) shell scripts from Finder without them launching terminal?
    Any links or straight advice appreciated. Thanks in advance.

    One way to run non-interactive scripts from Finder without them launching Terminal is to run them from within an AppleScript using it's "do shell script" command. For example:
    do shell script "/path/to/shell/script"
    or
    do shell script "/path/to/shell/script arg1 arg2 etc"
    You could also fairly easily write a generic "droplet" AppleScript that would allow you to drag-and-drop an arbitrary shell script onto it rather than hard coding a specific path into the script.
    If your shell script generates output on stdout it will be returned to the AppleScript. You can recieve the output in an AppleScript variable and then display it or manipulate it in some way... like this:
    set scriptOutput to do shell script "/path/to/shell/script"
    -- code to parse or display "scriptOutput"
    If the shell script is long running or redirects it's output to files then I believe you can have AppleScript run the shell script as a "background process". This will allow the "do shell script" command to return immediately so the AppleScript can quit.
    do shell script "/path/to/shell/script &"
    In all these examples the shell script will be run without launching Terminal or opening a Terminal window.
    The file extensions you use are not particularly important, but the execute flag must be turned on as another poster has stated in order for the shell script to run.
    Steve

  • Output File Naming Convention

    Hi PI Experts,
    I have a requirement to do the following :
    ---Pick a pdf file from a location and deposit to another location.
    Some roadblocks :
    1) The target filename should be the same as the source file name.
    2) The source file will always have .pdf extension in uppercase or lowercase. The outfile file should have .pdf extension in lowercase. Eg. the source file is <attach.PDF> or <attach.pdf>, the target file should always be <attach.pdf>
    3) A timestamp should be attached between the filename and the extension with an underscore separating them. Eg. the source file is <attach.PDF>, the target file should be <attach_timestamp.pdf>
    Summary : A file is deposited as <invoice.PDF>, the output file should be <invoice_timestamp.pdf>, a file is deposited as <invoice.pdf, the output file should be <invoice_timestamp.pdf>
    Note : I am not using any mapping objects as this is a direct file pick and deposit scenario i.e nonexistent_interface.
    Please advise on what is the suggested solution and how to perform this functions. As I am a beginner to PI, it would be great if you could provide a clear and easy to understand solution.
    Thanks in advance.

    Hi Freddy Ng,
    I understand you want to name target file dynamically. Dynamic file name is possible using
    1) Varaible substitution (but you don't have structure of payload, it is PDF)
    2) Dynamic configuration, you have to use objects in ESR ,
    _a)to use this one you need UDF, but there is no source structure, it is PDF.
    _b)you have to write a Java Mapping. Follow below steps.
    As input is not XML, we cannot use Graphical or XSLT mapping, so we have to use Java mapping.
    Solution:
    Step 1:- In Sender file channel, Advanced tab, select u201CSet Adapter-Specific Message Attributesu201D and u201CFile Nameu201D.
    Step 2:- Create a Dummy Data type: <Root><Child1></Child1><Child2></Child2></Root> and then create a Message type. Create Inbound and Outbound Message Interfaces using above Message Type and then create a Operational mapping.
    Step 3: Now, Implement Java Mapping (below).
    Step 4:- In Receiver file channel, Advanced tab, select u201CSet Adapter-Specific Message Attributesu201D and u201CFile Nameu201D.
    Regards,
    Raghu_Vamsee
    package com.image.file;
    import com.sap.aii.mapping.api.*;
    import java.io.*;
    import java.text.SimpleDateFormat;
    import java.util.*;
    public class RenameTargetFile extends AbstractTransformation {
        public void transform(TransformationInput transformationInput, TransformationOutput transformationOutput) throws StreamTransformationException {
            OutputStream outputstream = null;
            try {
                //Read input payload and write the same to output payload.
                InputStream inputstream = transformationInput.getInputPayload().getInputStream();
                outputstream = transformationOutput.getOutputPayload().getOutputStream();
                byte[] b = new byte[inputstream.available()];
                inputstream.read(b);
                String inputFileContent = new String(b);
                outputstream.write(inputFileContent.getBytes());
                //Get all details from SOAP Header
                Map para = transformationInput.getInputHeader().getAll();
                //Get File name http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/aii/mapping/api/DynamicConfiguration.html
                DynamicConfiguration conf = (DynamicConfiguration) para.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                DynamicConfigurationKey keyFileName = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
                String inputFileName = conf.get(keyFileName);
                SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy/MM/DD hh:mm:ss");
                String outputFileName = inputFileName.substring(0, inputFileName.indexOf(".")) + simpleDateFormat.format(new Date()) + ".pdf";
                conf.put(keyFileName, outputFileName);
            } catch (Exception exception) {
                exception.printStackTrace();

  • No error generated if batch process load file uses wrong naming convention

    Another interesting one...
    When using the batch processing functionality of FDM, which can be executed by either:
    - FDM Workbench (manually)
    - Hyperion FDM Task Manager (scheduled)
    - upsShell.exe (scheduled and executed from a batch script)
    ..., one has to name the data file (to be loaded) using a specific file naming convention (i.e. "A~LOCATION~CATEGORY~PERIOD~RA.csv" format, for example). However, if one does not name the file correctly and then tries to process the file using batch processing functionality using any of the above three methods, FDM happily moves the file out of the OpenBatch folder and into a new folder, but the file is not loaded as it does not know where to map it to (as expected). However, there are no errors in Outbox\Logs\<username>.err to inform the user, so one is non the wiser that anything has gone wrong!
    When using FDM Workbench, an error is displayed on the screen (POV - "Batch Completed With Errors, ( 1 ) Files Contained Errors"), but this is the only indication of any error. And normally, one would be scheduling the load using upsShell.exe or Hyperion FDM Task Manager anyway...
    Has anyone else noticed this, or am I doing something wrong here? :-)

    Yes, as per my original post the only feedback on any POV errors appears to be when using the FDM Workbench Batch Processing GUI.
    Regarding the "Batch Process Report in FDM" you mentioned, are you referring to Analysis | Timeline accessible via FDM web client? Unfortunately this does not appear to provide much in the way of detail or errors, only general events that occurred. I cannot locate any batch process report, other than the log output I defined when calling upsShell.exe. However, this contains no POV errors...

Maybe you are looking for