Custom tags don't seem to be working with Struts, and iPlanet Web Server
4.1.  I had no problem until I implemented the action mapping classes within
the Struts framework.  I'm not currently using the Struts tag libraries, but
they don't seem to work either.

My taglibrary is in a jar file, within a folder named taglib, which is
directly below the document root.  Inside this jar file, I have a directory
named META-INF, which contains my tld file.  The jar is in the server
classpath as per the Webserver's instructions.  Which is once again iPlanet
Web Server 4.1.

I have the following line in my (TLD):
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library
1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

I have the following line of code in my jsp:
<%@ taglib uri="/taglib/mytags.jar" prefix="s1" %>

This is the error I am getting:
[19/Oct/2000:10:27:17] info (  343): JSP: JSP1x compiler threw exception
org.apache.jasper.JasperException: Unable to open taglibrary
/taglib/s1tags.jar : com.sun.xml.tree.TextNode
        at
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve
ntListener.java:660)
        at
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList
ener.java:110)


Like I mentioned before, this configuration worked fine until I added
Struts.

Thanks,
David Lineberger

Reply via email to