Re: I'm trying to write a Tag Library Descriptor for Jakarta Session Tag library

Kris Schneider <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
The Session taglib
(http://jakarta.apache.org/taglibs/doc/session-doc/intro.html) comes with its
own TLD. BCEL (http://jakarta.apache.org/bcel/index.html) is something
completely different.

Quoting hk <[email protected]>:

> 
> I failed and got a message saying "unable to Initialize TldLocationCache".
> 
> 1. I had put the Session Tag Library, which is called bcel-5.2.jar, in the
> /WEB-INF/lib.
> 2. added the <taglib> to the web.xml.
> 
>    <taglib>
>        
> <taglib-uri>http://jakarta.apache.org/taglibs/session-1.0</taglib-uri>
>         <taglib-location>/WEB-INF/session.tld</taglib-location>   
>    </taglib>
> 
> 3. had written a session.tld file like below.
> 
>   <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.
>     //DTD JSP Tag Library 1.1//EN" "web-jsptaglib_1_1.dtd">    
>    <taglib>
>       <tlib-version>1.0</tlib-version>
>       <jsp-version>1.1</jsp-version>
>       <short-name>Session Tag Library</short-name>
>       <uri>http://jakarta.apache.org/taglibs/session-1.0</uri>
>       <description>
>          This tag library contains session tags.
>       </description>
> 
>       <tag>
>         <name>session</name>
>         <tag-class>/WEB-INF/lib/bcel-5.2.jar</tag-class>        
>       </tag>
>      
>       <tag>
>         <name>isNew</name>
>         <tag-class>/WEB-INF/lib/bcel-5.2.jar</tag-class>        
>       </tag>
>       
>       <tag>
>         <name>invalidate</name>
>         <tag-class>/WEB-INF/lib/bcel-5.2.jar</tag-class>        
>       </tag>
>       
>       <tag>
>         <name>maxInactiveInterval</name>
>         <tag-class>/WEB-INF/lib/bcel-5.2.jar</tag-class>        
>       </tag>  
>       
>       <tag>
>         <name>attribute</name>
>         <tag-class>/WEB-INF/lib/bcel-5.2.jar</tag-class>        
>       </tag>      
> 
>       <tag>
>         <name>attributes</name>
>         <tag-class>/WEB-INF/lib/bcel-5.2.jar</tag-class>        
>       </tag>
>       
>       <tag>
>         <name>equalsAttribute</name>
>         <tag-class>/WEB-INF/lib/bcel-5.2.jar</tag-class>        
>       </tag>
>       
>       <tag>
>         <name>existsAttribute</name>
>         <tag-class>/WEB-INF/lib/bcel-5.2.jar</tag-class>        
>       </tag>
>       
>       <tag>
>         <name>removeAttribute</name>
>         <tag-class>/WEB-INF/lib/bcel-5.2.jar</tag-class>        
>       </tag>
>       
>       <tag>
>         <name>setAttribute</name>
>         <tag-class>/WEB-INF/lib/bcel-5.2.jar</tag-class>        
>       </tag>
>       <tag>
>     </taglib>
> -- 
> View this message in context:
>
http://www.nabble.com/I%27m-trying-to-write-a-Tag-Library-Descriptor-for-Jakarta-Session-Tag-library-tf3800205.html#a10751684
> Sent from the Taglibs - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


-- 
Kris Schneider <mailto:[email protected]>
D.O.Tech       <http://www.dotech.com/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.