Hi,

Using JBoss 4.0.2. I'm having a problem with JSTL when I declare my taglibs 
using the META-INF method. For example, if I have this in my web.xml:-


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


I get the following stack-trace:-

14:29:20,317 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: The absolute uri: 
http://java.sun.com/jstl/fmt cannot be resolved in either web.xml or the jar 
files deployed with this application
        at 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
        at 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
        at 
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
        at 
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:316)
        at 
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:147)

However, if I declare it the other way:-


    <taglib-uri>/security</taglib-uri>
    <taglib-location>/WEB-INF/tld/security.tld</taglib-location>


Then everything works fine.

I'd prefer to use the first method, as it's neater from the point of view of my 
build process and the fact that I'm developing various utility modules that 
will be used across various apps.

Any ideas?

Matt



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881933#3881933

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881933


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to