DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6400>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6400

Tag Libraries not deploying in 4.0.2 final

           Summary: Tag Libraries not deploying in 4.0.2 final
           Product: Tomcat 4
           Version: 4.0.2 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Tag Library jar files should be able to be used if deployed to /web-inf/lib 
directory.  This feature worked in 4.0.1 final but not in 4.0.2 final.

It should not be necessary to put anything in web.xml if the taglib.tld is 
included in the jar file.

This is the error that is given now:

org.apache.jasper.JasperException: File "/testme" not found
        at org.apache.jasper.compiler.TagLibraryInfoImpl.
(TagLibraryInfoImpl.java:214)
        at org.apache.jasper.compiler.TagLibraryInfoImpl.
(TagLibraryInfoImpl.java:174)


This is the code in the jsp page:
<%@ taglib prefix="gigatag" uri="testme" %>

This is the taglib.tld file:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
        PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
        "http://java.sun.com/j2ee/dtd/web-jsptaglibrary_1_2.dtd";>
        
<taglib>
  <tlib-version>1.0</tlib-version>
  <jsp-version>1.2</jsp-version>
  <short-name>testme</short-name>
  <uri>/testme</uri>
  <display-name>testme</display-name>
  <description>testme</description>


<tag>
    <name>dump</name>
    <tag-class>gigatoad.taglib.Dump</tag-class>
    <body-content>EMPTY</body-content>
        
    <attribute>
        <name>test</name>
        <required>true</required>       
        <rtexprvalue>true</rtexprvalue>

    </attribute>
</tag>

</taglib>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to