[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Taglib URI issue

kannan_jboss do-not-reply at jboss.com
Tue May 15 02:54:41 EDT 2007


Hi,
I am using JBoss 4.2.0. All our JSPs were having,
<%@ taglib prefix="s" uri="/struts-tags" %>

In Jetty, this "/struts-tags" used to search inside the libraries. For me, the struts-tags.tld file is present in the META-INF directory of struts jar which is in the WEB-INF/classes directory. It used to work fine for Jetty(Dev env) but when I deploy in jboss, this is giving an error,

"Unable to load from /struts-tags"

I can change the uri to simply "struts-tags" (without the /) copy the tld from the jar to my local machine. (This would mean that all my jsps will have to change)

Can someone tell me what is the suggested best practice for this?

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

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



More information about the jboss-user mailing list