WPC tag list with xsl files

Hi,
I'm working into the xsl file to create Web Form with Web Page Composer. In some of current exemple it show us some tags or variable into the file like : @rid
e.g :
<xsl:value-of disable-output-escaping="yes" select="wpc:getAccessLink(string(@rid), string(/document/@locale))"/>
Where can I find those variables/tags and how to use them ?
Kind regards

Hallo Kai,
you anwsered the example question. Is there any technical documentation about the features in xml- and xsl-files for WPC?
I know only [https://www.sdn.sap.com/irj/sdn/nw-informationmanagement?rid=/webcontent/uuid/40321b10-8c42-2a10-3b89-9f67c9ff6065|https://www.sdn.sap.com/irj/sdn/nw-informationmanagement?rid=/webcontent/uuid/40321b10-8c42-2a10-3b89-9f67c9ff6065] (Web Content Management).
Thanks for advise.
Ciao
Ray

Similar Messages

  • Re-associating play-lists with moved files

    I know this topic comes up a lot but I am not clear on the answer. How do I Re-associate play-lists with moved files?
    I used to have all my music stored under- Music/My Music, on my Macs HD. ( I did not use the iTunes folder in the same music directory)
    I then moved the entire Music folder to an external hard drive.
    Is there a simple way of re-associating all my playlists to Music/My Music, on my external drive with one setting?
    Thxs

    As Katrina says it is easiest, if possible, to switch the letters back. It would help, however, to be precise about what has changed as it may be that with a little assistance iTunes can cope with the change.
    If, for example, your database files are still on drive C: and you had relocated the *iTunes Media* folder to say *D:\iTunes Media*, which is now *E:\iTunes Media* then changing the media folder location in iTunes preferences, followed by closing & reopening iTunes ought to resolve things.
    If things were more randomly organised, i.e. not inside the iTunes Media folder, then it becomes harder. It is possible, in principle, to write a script which performs a seach and replace on the iTunes track paths, but because iTunes won't report the original location of a "missing" file this is not so eash to do in practice. I do however have a script I'm working on that can switch the location from A to B if the file can be made to appear in both locations using say a Junction or Symbolic Link or a SUBST command. Once all the files have been remapped the Junction/SymLink or SUBST could be removed.
    tt2

  • Prepare List with text file fields

    Hi,
    This is rama krishna. I need to convert text file fields to a List.
    My requirement is to read a text file and prepare one list depending up on the fields.
    For example I want to read the following foollowing text fields into list(it may be list or linked list).
    <b>
    Invoice Number voice Date Voucher ID Gross Amountount Available Paid Amount
    51169 Nov/17/2005 00538767 7,043.23 0.00 7,043.23
    51275 Dec/14/2005 00542544 929.87 0.00 929.87
    601001 Jan/08/2006 00542545 1,837.14 0.00 1,837.14
    Vendor Number Check No Date Pay Amount Total Discounts tal Paid Amount
    21C029 218534 Jan/19/2006 $9,810.24*** $0.00 $9,810.24</b>
    I want Vendor number as on list to that list I want add
    Invoice nos lists.
    Thanks & Regards
    Rama Krishna

    Hi, Rama!
    Unfortunatly it' s beyond the scope of this forum to give that detailed advice on basic java se techniques like opening a file input stream and working with collections.
    Please refer to the suns standard documentation on file i/o and collections for detailed information on that.
    If you' ve any additional questions on more SAP specific problems, don' t hesitate to ask!
    Regards,
    Thomas

  • JAVA to XML on runtime a,then using thatstream along with XSL genertateHTML

    hi everybody,
    can u give me a example of a java file which generates an xml file on runtime and passes it as a stream to XSLT processor along with XSL file to produce and html output.
    i would appreciate this becoazue i know how to use physical file with XSLTprocessor but i am not able to pass an XML generated at runtime as a stream to the transformer class as a source.

    Hi Sumit
    See the links below for examples on doing this:
    http://xml.apache.org/xalan-j/
    http://xml.apache.org/xalan-j/samples.html
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun mcirosystems inc
    http://www.sun.com/developers/support

  • Problem with import tag in xsl files and include in xsd files

    Hello,
    I've been developing an application using JBoss as server. Then, i created an especific path for xsd and another path for xsl files. In both cases, i created a main file that include (xsd) or import (xsl) the other files. My problem is that i have to specify the exactly path where the imported xsl or the included xsd files are, even though they are in the same path as the main file. What i want to know is how i say that the other xsd and xsl files are in the same path that the main file that is importing them?
    here's an example of my import and include declarations:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:import href="../server/jboss/deploy/application.ear/pack.jar/xsl/transformer1.xsl"/>
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              elementFormDefault="qualified">
         <xsd:include schemaLocation="../server/jboss/deploy/application.ear/pack.jar/xsd/schema1.xsd"/>
    thanks for your help

    yes, thats not the value returned of
    URL url = this.getClass().
                        getResource("/xsl//transformer.xsl");the expression i posted is an string i'm using to test.... but i think it's not incorrect, because if the files i'm trying to open are not in the path, he throws the following exception:
    java.io.FileNotFoundException: C:\cpqd\isp\tools\third-party\jboss\server\jbossISP1\deploy\cpqd-ispeng-EngEJB-3.3.0.0.ear\cpqd-ispinv-ServiceEJB.jar\xsl\isp_transformer_manufacturer.xsl
        at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:80)
        at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:89)
        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
        at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xalan.processor.ProcessorInclude.parse(ProcessorInclude.java:323)
        at org.apache.xalan.processor.ProcessorInclude.startElement(ProcessorInclude.java:192)
        at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:668)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:972)
        at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:788)
        at br.com.cpqd.oss.isp.service.adapter.FrameworkAdapter.createExternalData(FrameworkAdapter.java:131)
        at br.com.cpqd.oss.isp.service.message.ExternalDataMDBBean.onMessage(ExternalDataMDBBean.java:92)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:458)
        at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
        at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)
        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
        at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:284)
        at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:150)
        at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)
        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
        at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
        at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:372)
        at org.jboss.ejb.Container.invoke(Container.java:709)
        at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:928)
        at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1205)
        at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:276)
        at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
        at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:159)
        at org.jboss.mq.SpySession.run(SpySession.java:351)
        at org.jboss.jms.asf.StdServerSession.run0(StdServerSession.java:200)
        at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
        at java.lang.Thread.run(Thread.java:534)and when the files are in the path, he throws the other exception... thats why i think the problem it's not the URL....

  • Error with this Alien-RFID-Tag-List kind of  tag format in flex 1.5

    Hi all
    I am trying to display the following XML file which i am
    getiing from RFID reader when i send the command to reader. I am
    using flex 1.5.
    <Alien-RFID-Tag-List>
    <Alien-RFID-Tag>
    <TagID>1000 0000 0000 0000</TagID>
    <DiscoveryTime>2006/07/14
    12:28:18</DiscoveryTime>
    <LastSeenTime>2006/07/14 12:28:18</LastSeenTime>
    <Antenna>0</Antenna>
    <ReadCount>98</ReadCount>
    </Alien-RFID-Tag>
    </Alien-RFID-Tag-List>
    For this I am using the following codes
    private function onResultAl(oEvent:Object):Void {
    var aResultAl:Array =
    mx.utils.ArrayUtil.toArray(oEvent.result.Alien-RFID-Tag-List.Alien-RFID-Tag);
    for(var i:Number = 0; i<aResultAl.length; i++){
    _aDPAL.addItem(aResultAl
    <mx:HTTPService id="aldt" url="aliendata.jsp"
    result="onResultAl(event)" fault="alert(event.fault.faultstring);"
    resultFormat="xml"/>
    <mx:DataGrid id="aldg" dataProvider="{_aDPAL}" width="630"
    height="350">
    <mx:columns>
    <mx:Array>
    <mx:DataGridColumn columnName="TagID" headerText="Tag
    ID"/>
    <mx:DataGridColumn columnName="DiscoveryTime"
    headerText="Read Counts"/>
    <mx:DataGridColumn columnName="LastSeenTime"
    headerText="Reliability"/>
    <mx:DataGridColumn columnName="Antenna"
    headerText="Antenna No"/>
    <mx:DataGridColumn columnName="ReadCount"
    headerText="Read Time"/>
    </mx:Array>
    </mx:columns>
    </mx:DataGrid>
    But if i run then I am getting the error :There is no
    property with the name 'RFID'.
    Could anybody tell me why the compiler is ignoring after dash
    in this <Alien-RFID-Tag-List> kind of tag format?
    Thanx
    kvijai

    hi all
    Please have a look and tell me why I am getting this error.
    Thanx
    kvijai

  • Is there anyway to edit the names of the Variables/​Tags listed in the .IAK file

    I have an .IAK file that has several (about 130) different fieldpoint devices in it and each device has about 90 variables names listed.  I have modified all the names in order to shorten them and standardize/nomalize the variable names.  I would like to be able to just rename the variables in the IAK file, instead of going to each device, connect, 'find devices' in MAX, Save the IAK File (which takes about 10min each) and then drive to the next device and repeat the process 130 times.  I've seen programs that let you view the IAK file, just wondering if the IAK can be edited programmatically.

    The reason is the IAK file has ALL 130+ fieldpoint devices listed, with approx 85 tags per FP, and I have to get the tag information from each site, then I have to copy that file to the server and reload the server.  If (like what happened yesterday) there is a problem saving the .IAK file or the .IAK file gets corrupted, I have to go back to ALL 130+ FP devices and get the information again.  Also, with that many FP stations in the IAK file, it takes a considerable amount of time per save (approx 10min).  On the server, I get the data from these FP devices through OPC that uses the .IAK file.  It's really not an idea situation, but it's what I have to work with.
    If it can't be done, it can't be done.  I would think that the file has to be saved in some format, granted probably some proprietary NI format, but if I knew the format, I could write a program to edit it, unless it's also compressed in some propritary NI format.

  • JAXP working with XML-XSL files - urgent help

    I have the code below to transform xml file into html file using xsl file:
    Transformer transformer = tFactory.newTransformer(new StreamSource("D:/Test/26120108026263560502.xsl"));
    transformer.transform(new StreamSource("D:/Test/26120108028469387014574415483532664948806162003.xml"), new StreamResult(new FileOutputStream("D:/Test/Test.html")));
    The code works fine with simple xml, xsl files, but it shows strange error messages when transforming more complex xsl file, please look at the errors below:
    [Error] 26120108026263560502.xsl:3:80: Element type "xsl:stylesheet" must be declared.
    [Error] 26120108026263560502.xsl:4:58: Element type "xsl:output" must be declared.
    [Error] 26120108026263560502.xsl:6:75: Element type "xsl:include" must be declared.
    [Error] 26120108026263560502.xsl:12:25: Element type "xsl:template" must be declared.
    [Error] 26120108026263560502.xsl:14:7: Element type "html" must be declared.
    [Error] 26120108026263560502.xsl:15:7: Element type "head" must be declared.
    [Error] 26120108026263560502.xsl:16:8: Element type "title" must be declared.
    [Error] 26120108026263560502.xsl:17:75: Element type "xsl:value-of" must be declared.
    [Error] 26120108026263560502.xsl:19:74: Element type "meta" must be declared.
    [Error] 26120108026263560502.xsl:20:8: Element type "style" must be declared.
    [Error] 26120108026263560502.xsl:38:25: Element type "body" must be declared.
    [Error] 26120108026263560502.xsl:39:48: Element type "xsl:call-template" must be declared.
    [Error] 26120108026263560502.xsl:40:55: Element type "xsl:call-template" must be declared.
    [Error] 26120108026263560502.xsl:41:49: Element type "xsl:call-template" must be declared.
    [Error] 26120108026263560502.xsl:43:67: Element type "table" must be declared.
    [Error] 26120108026263560502.xsl:44:7: Element type "tr" must be declared.
    [Error] 26120108026263560502.xsl:45:21: Element type "td" must be declared.
    [Error] 26120108026263560502.xsl:45:24: Element type "b" must be declared.
    [Error] 26120108026263560502.xsl:45:51: Element type "br" must be declared.
    [Error] 26120108026263560502.xsl:46:123: Element type "xsl:value-of" must be declared.
    It look to me that JAXP can't recognize the tags. Everyone's help is appreciated.
    Neil

    Here is the top part of it: ***********************
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" indent="no" encoding="UTF-8" />
    <xsl:include href="http://connexion.vdr.com/ematrix/reports/xsllib.xsl" />
    <xsl:template match="/">
    <html>
    <head>
    <title>
    <xsl:value-of select="//businessObject[objectType='CRA']/objectName"/>
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <style>
    TABLE
    font-family: Arial Narrow, Tahoma, Verdana;
    border: #000000 solid;
    border-width: 2px 2px 0px;}
    TABLE.BOTTOM
    font-family: Arial Narrow, Tahoma, Verdana;
    border: #000000 solid;
    border-width: 2px 2px 2px;}
    TD.DATA, TH.DATA
    border: #cccccc solid;
    border-width: 0px 1px 1px 0px;}
    </style>
    </head>
    <body bgcolor="#FFFFFF">
    <xsl:call-template name="ECRHeaderTable" />
    <xsl:call-template name="ECRHeaderDetailsTable" />
    <xsl:call-template name="ECRDetailsTable" />
    Anh here is the top part of file xsllib.xsl in the xsl:include: ********
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <!--*******************************************************************
    CalJulian - Calculate the Julian date for any date
    Inputs: Year - Year
    Month - Month
    Day - Day
    hour - hour (24 hour based, 0=midnight, 23=11pm)
    min - minute
    sec - second
    History:
    http://www.nr.com/julian.html
    *********************************************************************-->
    <xsl:template name="CalJulian">
    <xsl:param name="Year"/>
    <xsl:param name="Month" select="1"/>
    <xsl:param name="Day" select="1"/>
    <xsl:param name="Hour" select="0"/>
    <xsl:param name="Min" select="0"/>
    <xsl:param name="Sec" select="0"/>
    <xsl:variable name="jy">
    <xsl:choose>
    <xsl:when test="($Year < 0) and ($Month > 2)">
    <xsl:value-of select="$Year + 1"/>
    </xsl:when>
    <xsl:when test="($Year >= 0) and ($Month <= 2)">
    <xsl:value-of select="$Year - 1"/>
    </xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="$Year"/>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:variable>
    The files work fine when I use msxsl.exe without any errors. I forgot to mention that dispite all the errors, JAXP still creates the html file but seeing the errors is not a good thing.
    Neil

  • How to get list of tags in my html file?

    Hi,
    I am having a html file.
    I would like to display the list of tags and the names in the html file.
    For example, I am having a tag <input> and defined the tag name as "Inp1".
    So, I want to display the list of all tags and its names.
    Thank you,
    Regards,
    Gowtham Sen

    Is this an oversight in the library specification?
    Why does the tld file not contain any tag interrelationship information when the tags java api provide all the mechenism handle nesting.
    I have a tag library with a large number of tags which form a hierarchy reflecting the design of the library and its components.
    As the meta information ( tld ) does not contain any information about this hierarchy, the user is left clueless as to the composition of the tags.
    Also this directly affects all jsp design and editing tools, making features like code completion etc almost useless.
    Anyone from the tag library spec team ???

  • HT4199 I just got a new iPod touch 4th generation and I'm trying to connect to my router and my iPod says, 'Cannont find network.' I don't know what to do! No other networks come up on the list so I can't 'tag' along with thier wifi. Please help. I need a

    I just got a new iPod touch 4th generation and I'm trying to connect to my router and my iPod says, 'Cannont find network.' I don't know what to do! No other networks come up on the list so I can't 'tag' along with thier wifi. Please help. I need advice.

    What type network is yu router set up for? The 4G iPod can only connect and see 2.4 GHZ networl like B, G and the 2,4 GHz N. There is also a 5 GHz N but the iPod will not even seethat network.
    See:
    iOS: Troubleshooting Wi-Fi networks and connections
    iOS: Recommended settings for Wi-Fi routers and access points

  • Transfer 100M XML file with XSL

    Hi,
    I am trying to transfer 100M XML file with XSL. Input.xml is the XML file, format.xsl is the XSL file. I type in the command line as:
    java org.apache.xalan.xslt.Process -IN input.xml -XSL format.xsl -OUT output.xml
    It got "out of memeory" error. My questions are:
    1. Is it possible to transfer such large XML file with XSLT?
    2. The XSL processor used SAX or DOM to parse XML file?
    3. Any suggestions?
    Thanks.
    James

    maybe?
    java -Xmx200m org.apache.xalan.xslt.Process -IN input.xml -XSL format.xsl -OUT output.xml
    http://java.sun.com/j2se/1.3/docs/tooldocs/win32/java-classic.html

  • Problem with substring in xsl file?

    Hallo,
    i have a xsl file, when using
    <xsl:value-of select="StsEdat"/> i've got 2007-05-21, that's o.k.
    when using <xsl:value-of select="substring(StsEdat,9,2)"/> the answer is blank.
    also 0,5 or so on. substring at this position delivers blank. why?
    what can it be? i'am helpless.
    any help is appreciated.

    Hi,
    I used <xsl:value-of select="substring(StartDate,9,2)"/> the answer was 21 and to 0,5 the answer was 2007. It seems that's ok!
    Try to do it and see if you have problem with substring.
    <xsl:variable name="StsEdat">2007-05-21</xsl:variable>
    <xsl:value-of select="substring($StsEdat,9,2)"/>
    or this weird way, :)
    <xsl:variable name="StsEdat">2007-05-21</xsl:variable>
    <xsl:value-of select='substring-after(substring-after($StsEdat, "-"), "-")' />
    Regards,
    Cleiton

  • [bash] How to uniq files in a file list with paths?

    Hi folks,
    I know I can get rid of duplicate entries in a list by sorting and uniqing:
    sort file | uniq
    But how can I uniq filenames in a file list with paths?
    /foo/abc.bar
    /foo/def.bar
    /foo/bar/def.bar
    /foo/ghi.bar
    Is it necessary to write my own comparison routine like “output thisline if basename(thisline) != basename(lastline)” (would require a basename-sorted input list)?

    arith wrote:
    Hi folks,
    I know I can get rid of duplicate entries in a list by sorting and uniqing:
    sort file | uniq
    Or 'sort -u':
    $ cat test
    a
    e
    b
    d
    c
    a
    d
    $ sort -u test
    a
    b
    c
    d
    e
    arith wrote:
    But how can I uniq filenames in a file list with paths?
    /foo/abc.bar
    /foo/def.bar
    /foo/bar/def.bar
    /foo/ghi.bar
    Is it necessary to write my own comparison routine like “output thisline if basename(thisline) != basename(lastline)” (would require a basename-sorted input list)?
    I came up with
    $ cat test
    /home/karol/test/test0
    /home/karol/test/test/test0
    /home/karol/test/foo/test00
    /home/karol/test/foo/bar/test0
    /home/karol/test/foo/bar/test1
    /home/karol/test1
    $ awk -F/ '{print $F" "$NF}' test | sort -k2 | uniq --skip-fields=1 | awk '{print $1}'
    /home/karol/test/foo/bar/test0
    /home/karol/test/foo/test00
    /home/karol/test/foo/bar/test1
    but I think there's a better way to do it ;P

  • When i use view as list in finder and open a folder with many files i cant right click with mouse without selecting or highlighting a file....i just want to right click to paste an item or create a new folder...what can i do?

    When i use view as list in finder and open a folder with many files i cant right click with mouse without selecting or highlighting a file....i just want to right click to paste an item or create a new folder...what can i do?

    Thx for that im gonna try it....but is there a way to do it without using toolbar or cmd-c...? i mean using only the mouse?why does it have to highlight the file even though i click a bit next to it....?using icon view i can right click next to the folder and i wont have a problem but with list view that i prefer using it will highlight the whole row.....and i dont find free space to right click cause i got many files

  • 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