Date parsing with Arabic Locale returning null

Hi all,
We are encountering a strange problem with Java SimpleDateFormat class when the Locale is set to Arabic.Here is the code.
Calendar cal = null;
java.util.Date dt = null;
Locale locale = new Locale("ar","SA");
System.out.println(locale.getDisplayCountry());
System.out.println(locale.getDisplayLanguage());
Locale.setDefault(locale) ;
SimpleDateFormat dateFmt = new SimpleDateFormat("yyyy-MM-dd HH:mm");
ParsePosition parsePos = new ParsePosition(0);
String tzID = "PST";
dt = dateFmt.parse("1999-01-01 00:00:00.0"+ " " + tzID, parsePos);
System.out.println("TimeZoneID is"+tzID);
System.out.println("Date is"+dt);
here we get dt as null.Can any one plz give me a solution for this.
Thanx in advance.
Regards,
Ashok

In the pattern "yyyy-MM-dd HH:mm" the part "-" seems not to be parsed. Did you search the Bug Database?
(Try using the following modified version of the code to see where the parsing error occurs.)
Calendar cal = null;
java.util.Date dt = null;
Locale locale = new Locale("ar","SA");
System.out.println(locale.getDisplayCountry());
System.out.println(locale.getDisplayLanguage());
Locale.setDefault(locale) ;
SimpleDateFormat dateFmt = new SimpleDateFormat("yyyy-MM-dd HH:mm");
ParsePosition parsePos = new ParsePosition(0);
String tzID = "PST";
dt = dateFmt.parse("2003-02-20 00:00", parsePos);
if (parsePos.getErrorIndex()==-1){
System.out.println("TimeZoneID is "+tzID);
System.out.println("Date is "+dt);
}else{
  System.out.print("Parsing Error at ");// in this case error occurs at 5, i.e., the place immediately after the first appearance of '-'.
  System.out.println(String.valueOf(parsePos.getErrorIndex()));
}

Similar Messages

  • Opening a binary data file with a local java application from a weblink...

    I don't know if this is the right forum for my query, but I would like to be able to click on a data file from a download link on a webpage and be able to have the file "open" into the java application that processes the particular file (as opposed to selecting the "save to disk" option or having the browser display a bunch of funky characters). If the application is not already running, have an instance start up and process the data file and display the information. What steps would I need to take to get this to happen? The application is executed in a windows environment through executing a .bat file and not an executable .jar file. Any thoughts? TIA!

    This is entirely a matter of configuring the Windows file associations so that files with that extension are started using your designated process. Depending on the particulars you may be able to establish the association from the context (right-click) menu, or you may need to use Folder Options rom the Control Panel.
    In any case, this is a not a Java question, but Windows; if further help is needed you should go to a Windows help site.

  • Advanced Data Grid with Count only returns zero

    I'm just getting started with Flex and currently having problems getting the AdvancedDataGrid to count the total number of records for a group. I have the following for the control but all I get in the StudentCount column is 0 for all grouped rows. Can someone point me in the right direction?
    Thanks!
    <mx:Panel x="75" y="10" width="933" height="797" layout="absolute">       
            <mx:AdvancedDataGrid x="65" y="10" id="adg1" designViewDataType="tree" width="821.5"  enabled="true" initialize="gc.refresh();" height="406" selectionMode="singleCell" editable="true">
            <mx:dataProvider>
                <mx:GroupingCollection id="gc" source="{dataXML.ROW}">
                        <mx:Grouping>
                            <mx:GroupingField name="APPLS_AREA_OF_INTEREST_DESC"/>
                            <mx:GroupingField name="APPLS_APDC_DESC">
                                   <mx:SummaryRow summaryPlacement="group">
                                          <mx:SummaryField dataField="APPLS_SSN_FRMT"
                                            label="StudentCount" operation="COUNT"/>
                                      </mx:SummaryRow>
                            </mx:GroupingField>
                        </mx:Grouping>
                </mx:GroupingCollection>
            </mx:dataProvider>
                <mx:columns>
                    <mx:AdvancedDataGridColumn headerText="Interest Desc" dataField="APPLS_AREA_OF_INTEREST_DESC"/>
                    <mx:AdvancedDataGridColumn headerText="Interest Code" dataField="APPLS_AREA_OF_INTEREST_CODE"/>
                    <mx:AdvancedDataGridColumn headerText="Total Students" dataField="StudentCount"/>
                    <mx:AdvancedDataGridColumn headerText="Darton ID" dataField="APPLS_SSN_FRMT"/>
                    <mx:AdvancedDataGridColumn headerText="Name" dataField="APPLS_FULLNAME_LFM"/>
                    <mx:AdvancedDataGridColumn headerText="Phone" dataField="APPLS_PHONE_NUMBER"/>
                    <mx:AdvancedDataGridColumn headerText="APDC Desc" dataField="APPLS_APDC_DESC"/>
                    <mx:AdvancedDataGridColumn headerText="APDC Code" dataField="APPLS_APDC_CODE"/>
                </mx:columns>
            </mx:AdvancedDataGrid>
        </mx:Panel>
    </mx:Application>

    I guess the count function only works on the numeric feilds.

  • SQL Loader - CSV Data file with carraige returns and line fields

    Hi,
    I have a CSV data file with occasional carraige returns and line feeds in between, which throws my SQL loader script off. Sql loader, takes the characters following the carraige return as a new record and gives me error. Is there a way I could handle carraige returns and linefeeds in SQL Loader.
    Please help. Thank you for your time.
    This is my Sql Loader script.
    load data
    infile 'D:\Documents and Settings\user1\My Documents\infile.csv' "str '\r\n'"
    append
    into table MYSCHEMA.TABLE1
    fields terminated by ','
    OPTIONALLY ENCLOSED BY '"'
    trailing nullcols
    ( NAME CHAR(4000),
    field2 FILLER,
    field3 FILLER,
    TEST DEPT CHAR(4000)
    )

    You can "regexp_replace" the columns for special characters

  • Java 7 u45 System.getProperty returns null

    After upgrade to u45, our web launch application stopped working. it failed at System.getProperty("myproperty").
    "myproperty" is defined as a
    <resources>       
    <j2se version="1.6+" initial-heap-size="64m" max-heap-size="256m"/>
           <jar href="nms_wsclient.jar" download="eager" main="true"/>
           <jar href="commons-httpclient.jar" download="eager"/>      
          <jar href="commons-codec.jar" download="eager"/>       
          <jar href="commons-logging.jar" download="eager"/>       
          <jar href="log4j.jar" download="eager"/>       
          <property name="myproperty"   value="http://138.120.128.94:8085/"/>
        </resources>
    with older version java ,System.getProperty("myproperty") works fine to return the value, but with u45 it returned null.
    Does anyone have the same problem? any idea how to fix it or work around it?
    Thanks,
    Zhongyao

    So did you succeed with the jnlp template ?
    After frustrating hours of that information useless JNLPSigningException trial & error, It seems that as :
    1. You can't make the j2se version variable
    2. You can't have your own variable property/values
    I've opened a bug report...
    The documentation is atrocious, with a vague "we reserve the right to blacklist variable elements, but we will never say which ones".
    The JNLP example in the various example is a joke - Its a hello world jnlp, not a real world one.
    The JNLPSigningException must have been written my the same guys at Microsoft that did the "An Unknown Error As Occurred".
    I've had to clear the cache at every test, seems that the JNLP Template check didn't get the new updated JNLP from the web server.
    /rant over
    I think I'll try to bypass that JNLP property mess and get javaws to download my own "jnlp name".xml.config...

  • Need help with returning NULL data using DECODE

    Hello again! I am new to PL/SQL and still fairly new to SQL. I have a query that returns several columns of data and based on the year entered I want either current data or past data. If the number is null that is considered current data only.
    Below is part of my where clause, it kinda of works the way I want. It is returning the correct numbers but it is not returning any null numbers when I enter 2007 for the current year. I hope this makes sense, any suggestions/tips would be great thanks!
    WHERE table1.num = decode(table1.num,
    null,
    decode(:p_year, to_char (current_date,'yyyy'),
    table1.num,null),
    decode(:p_year,(select to_char(open_date,'yyyy') from table2 where table2.num = table1.num),
    table1.num,null))

    maybe something like this?
    WHERE Nvl(table1.num,'x') = Decode(table1.num, null, Decode(:p_year, to_char(current_date,'yyyy'), table1.num, 'x'),
                                                         Decode(:p_year, (select to_char(open_date,'yyyy') from table2 where table2.num = table1.num), table1.num, 'x')) note: untested

  • CreateWordHiLite returns null on Arabic pdf document

    Greatly appreciated if someone in this forum can help to resolve the issue that I am facing. I am using Visual C# to do some stuff with a pdf document where I want to create a list of all words in a page. I am using InterOp Services to access the api exposed the the acrobat.tlb library. Here is the code snippet I am using:
                CAcroPDPage page = (CAcroPDPage)document.AcquirePage(pageNumber);
                CAcroHiliteList hitelite = new Acrobat.AcroHiliteListClass();
                hitelite.Add(0, 32767);     // create a hilite that includes all possible text on the page
                CAcroPDTextSelect selectedText = (Acrobat.CAcroPDTextSelect)page.CreateWordHilite(hitelite);
    On the last line the CreateWordHilite is returning null, meaning the method failed on an Arabic pdf file. If I run the same code on an English document, the code works fine.
    Regards.

    Hi there,
    Thanks for the response. I narrowed down the problem further. In fact a few of the pages are giving trouble. Now I'm concentrating on the pages that are giving me the word collection but I'm facing a separate issue.
    The CAcroPDTextSelect object is now having values but when I am using the GetText(iNum) method and examining the content of a particular word, it does not show the Arabic word. For example one of the word looks like this: "çáçñý: " . Do I have to use a different sdk for non-latin character sets?
    Regards.

  • How to prevent setBoundingThemes returning null MBR when no data are found

    I am using setBoundingThemes method in MapViewer bean to zoom in to query results in a JDBCTheme. It is possible however that the JDBCTheme doesn't contain any data when no rows match the criteria. The result is that the other themes are queried without a filter and the overall map size is used (as the result of the mbr of all themes). This wouldn't be a problem if the theme_min_scale was considered, but it isn't, so all available data are rendered and this takes quite a while. Is there a way to set an alternative query window which will be used in case no rows are returned?
    To show the difference:
    Using a JDBCTheme with results:
    a valid mbr is found:Thu Jun 09 19:44:48 CEST 2005 FINEST [oracle.sdovis.MapMaker] mbr of all bounding themes: java.awt.geom.Rectangle2D$Double[x=5.03750183491323,y=52.05182293319411,w=0.12810743017353943,h=0.08182653361177472]
    the resulting query for the (predefined) LOCALROAD theme:Thu Jun 09 19:44:48 CEST 2005 FINEST [oracle.sdovis.theme.pgtp] [ LOCALROAD ]: 5.03750183491323,52.05182293319411,5.165609265086769,52.133649466805885
    Thu Jun 09 19:44:48 CEST 2005 FINEST [oracle.sdovis.theme.pgtp] [ LOCALROAD ]: SELECT ROWID, GEOM, 'CSX:L.ALLROADS', NAME, 'CSX:T.ROAD NAME', 1, ID FROM MN_NW WHERE MDSYS.SDO_FILTER(GEOM, MDSYS.SDO_GEOMETRY(2003, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    Using a JDBCTheme without results:
    a null mbr is foundThu Jun 09 19:48:34 CEST 2005 WARN [oracle.sdovis.MapMaker] Null MBR resulted from buildDataMBR(themes).
    the resulting query for the (predefined) LOCALROAD theme:Thu Jun 09 19:48:34 CEST 2005 FINEST [oracle.sdovis.theme.pgtp] [ LOCALROAD ]: -Infinity,-Infinity,NaN,NaN
    Thu Jun 09 19:48:34 CEST 2005 FINEST [oracle.sdovis.theme.pgtp] [ LOCALROAD ]: SELECT ROWID, GEOM, 'CSX:L.ALLROADS', NAME, 'CSX:T.ROAD NAME', 1, ID FROM MN_NW'
    and after that the mbr is made up out of all themes, resulting in a map of all available dataThu Jun 09 19:56:19 CEST 2005 FINEST [oracle.sdovis.MapMaker] mbr of all themes: java.awt.geom.Rectangle2D$Double[x=-0.5,y=-2.6605568400000004,w=11.025,h=58.665278322000006]
    Of course I could query the database first to find out if there are any geo data available, but I am hoping there's another way. Anybody who can help?
    Regards,
    Ida

    Hi Ida,
    I think just the size parameter with null mbr for the bounding theme won't help too much.
    We would need a reference point to be used with this size. This point we could get if we query the other themes, but as we don't have a reference mbr (the bounding theme mbr is null) this would be a full query on the other themes.
    We will discuss your suggestion of not rendering any theme and raising an exception if the mbr for the bounding theme returns null.
    Thanks.
    Joao

  • Non-local searches return "null" results

    I'm creating a Merged help output using AIR Browser Based Help. Said output currently has one major flaw: null search results when viewed over a network.
    Now, I have read through the thread on this forum about people who initially got a "null" search result when searching a local project, but with the search subsequently working, and indeed that behavior is what I was initially seeing. That is, on my local copy of the project, my first search would return "null," and then things would work normally. However, when other users accessed my local project over our network, they never got anything other than "null" results. (Quick aside for relevant information: output was from 64-bit RH9, testing is on FIrefox 13 and I.E. 9) If I move my local copy onto the network, I am no longer successful in searching.
    I have performed the suggested fix on the whfhost.js file, and while it fixed the problem locally-- I no longer see "null" results-- the problem persists for non-local access. Does anyone have any suggestions on how to fix this?
    Thanks!

    For the benefit of anyone else, this is the solution that was provided by Adobe.
    Open the generated output folder and open whfhost.js file in the notepad application. Search for the following strings in the file. you need to replace this function
    function Query()
      gbAIRSearchString  = goOdinHunter.strQuery;
    g_CurPage = 1;
    context = new HuginContext();
      context.reset();
    context.push( goOdinHunter.query, goOdinHunter,
      processHunterResult, null );
      context.resume();
    With this new function
    function isValidType(obj)
    return ( (typeof(obj)!='undefined')&&(obj!=null) );
    function Query()
      gbAIRSearchString  = goOdinHunter.strQuery;
    g_CurPage = 1;
    if (isValidType(context) && isValidType(context.aTasks))
      while(context.aTasks.length>0)
      context.resume();
    context = new HuginContext();
      context.reset();
    context.push( goOdinHunter.query, goOdinHunter,
      processHunterResult, null );
      context.resume();
    And try running the output and see if you stilll face the null search result problem
    If this problem is fixed, then you can go to the C:\Program Files\Adobe\Adobe RoboHelp 8\RoboHTML\WebHelp5Ext\template_stock folder location, and make the similar changes in the whfhost.js file located in this folder.
    It has worked for others so I would first check carefully that you have made the modification correctly.
    If you reverse the change, are you back to square one and get a null result first time?
    The modification was for RoboHelp 8 or 9. You haven't said what version you are using.
    Does it fail with all browsers?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • UCCX XPath on Get XML Document Data Step always returns null

    Hello,
    Can someone tell whats wrong with my XPath, because it always returns null. I have tried different variations and nothing. I'm using UCCX 7.0
    XML
    <?xml version="1.0" encoding="utf-8" ?>
    <GetManagersResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.labdomain.com/">
      <ClaimManagersList>
        <X_CLAIM_MANAGER>
          <ClaimManagerUserName>test</ClaimManagerUserName>
        </X_CLAIM_MANAGER>
      </ClaimManagersList>
    </GetManagersResult>
    XPATH
    "/descendant::GetManagersResult/child::ClaimManagersList/child::X_CLAIM_MANAGER/child::ClaimManagerUserName"
    During debug, this is the value of the xml document when it reaches the Get XML Document Data step:
    TEXT[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n<GetManagersResult xmlns=\"http://www.labdomain.com/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\r\n  <ClaimManagersList>\r\n    <X_CLAIM_MANAGER>\r\n      <ClaimManagerUserName>test</ClaimManagerUserName>\r\n    </X_CLAIM_MANAGER>\r\n  </ClaimManagersList>\r\n</GetManagersResult>]

    It's your XML namespace in the root element.
    First off, I have never seen the CRS Editor play nice when XML namespaces are involved.
    Secondly, with your namespace in place, not even a generic xpath expression tester can find your data.  See attachements.
    I think that if you find a way to either: not send, or remove the namespace from your document, your xpath expression will work.
    With Namespaces
    Without Namespaces

  • Get XML Document Data step always returns NULL

    Hi All,
    I was hoping someone might be able to help with this.
    I'm writing a holiday script, it uses XML to check whether the date is a holiday or halfday. XML below
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <Holidays>
      <Holiday Date="1/1/2012">Holiday</Holiday>
      <Holiday Date="3/1/2012">Halfday</Holiday>
      <Holiday Date="6/1/2012">Holiday</Holiday>
      <Holiday Date="5/4/2012">Halfday</Holiday>
      <Holiday Date="6/4/2012">Holiday</Holiday>
      <Holiday Date="8/4/2012">Holiday</Holiday>
      <Holiday Date="9/4/2012">Holiday</Holiday>
      <Holiday Date="30/4/2012">Halfday</Holiday>
      <Holiday Date="1/5/2012">Holiday</Holiday>
      <Holiday Date="17/5/2012">Holiday</Holiday>
      <Holiday Date="27/5/2012">Holiday</Holiday>
      <Holiday Date="6/6/2012">Holiday</Holiday>
      <Holiday Date="23/6/2012">Holiday</Holiday>
      <Holiday Date="6/4/2012">Holiday</Holiday>
      <Holiday Date="3/11/2012">Halfday</Holiday>
      <Holiday Date="25/12/2012">Holiday</Holiday>
      <Holiday Date="26/12/2012">Holiday</Holiday>
      <Holiday Date="19/10/2012">Halfday</Holiday>
    </Holidays>
    However when I debug the script the result of the Get XML Document step always returns null.
    Xpath work great in notepad++
    My code is attached, anyone with any pointers?
    Regards,
    Andy

    Your XPATH of:
    "/Holidays/Holiday[@Date='+DateString+']"
    Needs to be:
    "/Holidays/Holiday[@Date='"+DateString+"']"
    Good luck and happy scripting!
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • Field.get(Object obj) now returning null with Generics (Java 5.0) ??

    Hello,
    I'm currently using Java 5.0 (especially for the Generics part) on a new Java/J2EE project, but having a strange issue with code working previously in a Java 1.4 project.
    Below is an overriding of the toString() method provided by the Object class which allow me to view nicely in debug (dev. mode) the contents of my Transfer Objects (all the TO's must extend this ATO abstract class).
    Previously this code displayed me something like:
    [field1 => value1, field2 => value2] ... for a TO (sort of "Javabean") having e.g. two String fields with values initialized to "value1" (resp. "value2").
    But unfortunately, this does (or seems) not to work anymore, having such display :
    [field1 => null, field2 => null]I tried to debug, and the problem is that the call fieldValue = field.get(this); returns null while it should returns the actual value of the field.
    I thing it it strongly related to Generics, but could not at the moment found how/why it does not work.
    May someone help...? Thanks.
    public abstract class ATO {
        // Reflection for field value display
        public String toString() {
            StringBuffer sb = new StringBuffer("[");
            MessageFormat mf = new MessageFormat("{0} => {1}, ");
            Field[] fields = this.getClass().getDeclaredFields();
            for (int i = 0; i < fields.length; i++) {
                Field field = (Field) fields;
    String fieldName = field.getName();
    Object fieldValue = null;
    try {
    fieldValue = field.get(this);
    } catch (IllegalArgumentException e) {
    } catch (IllegalAccessException e) {
    mf.format(new Object[] { fieldName, fieldValue }, sb, null);
    if (sb.length() > 1) {
    sb.setLength(sb.length() - 2);
    sb.append("]");
    return sb.toString();

    ejp wrote:
    Field field = (Field) fields;
    This cast is unnecessary.
    Effectively, I haven't noticed it yet. Fixed.
    } catch (IllegalArgumentException e) {
    } catch (IllegalAccessException e) {
    }Either the field value really is null or you are getting one of these exceptions which you are ignoring. Never write empty catch blocks.That's true, I missed something. Fixed with some code to log the eventual exceptions.
    Thanks for you answer.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How can I Change data in a type def control containing a Xcontrol with a local variable

    Hello
    I made a Xcontrol and I inserted this control in a type def.
    When I want to change the control's data with a local variable in a VI, the VI change nothing. The change of data isn't perform
    How can I correct this issue?
    Thanks for your help
    Solved!
    Go to Solution.

    Hello,
    What's your LabVIEW version ? Do you have a simple example program which demonstrates this behavior ?
    I found another discussions related to your issues with Xcontrols:
    updating type defs in Xcontrol Facade
    No Data Change event generated for a XControl in a Type Def
    XControl facede.vi 
    Hope this helps.
    Regards, 
    Steve M.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Vidéo-t'chats de l'été : présentations techniques et ingénieurs pour répondre à vos questions

  • (DocumentBuilder).parse return null under jdk 1.5.0

    I would like to understand why the following code return a correct Document instance if it running under jdk 1.4.2 and instead return null if it running under jdk 1.5.0.
    Thanks!
    F.
    import java.io.IOException;
    import java.io.StringReader;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    String test = "<root>" + "" + "</root>";
    StringReader sreader = new StringReader (test);
    InputSource is = new InputSource(sreader);
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder;
    builder = factory.newDocumentBuilder();
    Document doc =  builder.parse(is);
    System.out.println("Document is: " + doc);

    Because you're using the toString() method to display the Document. It works differently in Java 5 than it did in Java 1.4. This is perfectly okay because the DOM specification doesn't say anything about what the toString() method should return. If you relied on that for anything other than debugging then you were relying on an undocumented feature. Shouldn't do that.

  • Why does the Java method ServletContext.getResourceAsStream return null with a know good path to an xsl file?

    iPLANET ISSUE
    Why does the Java method ServletContext.getResourceAsStream return null with a know good path to an xsl file?
    CODE
    ServletContext context = mpiCfg.getServletConfig().getServletContext();
    // Debugging
    out.print(context.getServerInfo());     // Get server info
    out.print(&#8220;getRealPath = &#8221; + context.getRealPath("WEB-INF/xsl/RedirectToAcs.xsl"));
    String strXslName = "RedirectToAcs.xsl";
    InputStream is = context.getResourceAsStream("WEB-INF/xsl/"+ strXslName);
    TRACE FROM THE LOG
    [26/Jul/2002:08:23:15] info ( 2868): [0][][ClearCommerceCcpaMpi][]getServerInfo() = iPlanet-WebServer-Enterprise/6.0, getRealPath() = C:\iPlanet\Servers\web-apps\ccpa\WEB-INF\xsl\RedirectToAcs.xsl
    [26/Jul/2002:08:23:15] info ( 2868): [0][][ClearCommerceCcpaMpi][]strXslName = RedirectToAcs.xsl, is = null
    [26/Jul/2002:08:23:15] info ( 2868): [1][][ClearCommerceCcpaMpi][16]ResourceAsStream is null
    [26/Jul/2002:08:23:15] info ( 2868): [1][][ClearCommerceCcpaMpi][30]Problem reading XSL file.
    DIRECTORY DUMP
    C:\iPlanet\Servers\web-apps\ccpa\WEB-INF\xsl>dir
    Volume in drive C has no label.
    Volume Serial Number is 9457-EBF4
    Directory of C:\iPlanet\Servers\web-apps\ccpa\WEB-INF\xsl
    07/22/2002 05:54p <DIR> .
    07/22/2002 05:54p <DIR> ..
    07/22/2002 05:54p 3,086 RedirectToAcs.xsl
    07/22/2002 05:54p 3,088 Response.xsl
    2 File(s) 6,174 bytes
    2 Dir(s) 1,797,405,696 bytes free

    I think there's supposed to be a forward slash before WEB-INF.
    InputStream is = context.getResourceAsStream("/WEB-INF/xsl/"+ strXslName);

Maybe you are looking for

  • IPod not recognized by computer - folder icon

    Hi. I have a 3rd generation iPod that displays the folder icon with the exclamation mark when I try to start it. If I hook it to my computer, the icon changes to the "OK to disconnect" message, and it indicates that it is in "Disk Mode". If I disconn

  • Sound Drivers

    Hello, I have an Hp pavilion dv7-4060us, and my sound drivers haven't been updated since 2010.  They are IDT HD audio Codecs, and I went to the IDT site, and couldn't find them.  I also emailed the IDT support team, and they said they couldn't help m

  • Linking tables in Crystal with no relationship

    I have three tables i need to link together.  The first two have something in common where I it's no problem...but the problem is I require a third table where there is no common factor.   I was told connecting a distribution table to this would work

  • Fullscreen slideshow will not "slide" automatically

    To make it easy for my collegues to show a slideshow in full screen with 5 sec. delay and a soft transistion, I have made one in Acrobat and expect people to run it with 1 click in their Acrobat Reader X. It seems like I can store these parameters in

  • Problem with STMS_QA

    Hi, After releasing the transport requests in SE01, I have to approve these requests in STMS_QA, but these requests not appear in STMS_QA. Can any one help me? regards, prabhu