Tag Libraries not loading

Hey, I am using Idea 3.0, but my tag libraries will not load. My web.xml defines the library:

myTags /WEB-INF/lib/myTags.jar My JSP reads: ]]>

but it will not resolve "myTags". I have enabled web application support in my project properties, and added the path to my project-web directory. My jar file contains the taglib.tld in a META-INF directory.

Am I missing something? (Java 1.4.1_01 on XP)

Thanks

1 comment

loading taglibs from a jar file is not supported in 3.0. I recomment
you move your TLD out of the jar and set it up that way.

I don't even know if this is fixed in 4.x either.

R

Jordan wrote:

Hey, I am using Idea 3.0, but my tag libraries will not load. My web.xml defines the library:

<taglib>
<taglib-uri>myTags</taglib-uri>
<taglib-location>/WEB-INF/lib/myTags.jar</taglib-location>
</taglib>

My JSP reads:

<%@ taglib uri="myTags" prefix="tag" %>

but it will not resolve "myTags". I have enabled web application support in my project properties, and added the path to my project-web directory. My jar file contains the taglib.tld in a META-INF directory.

Am I missing something? (Java 1.4.1_01 on XP)

Thanks


0

Please sign in to leave a comment.