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?
I think your problem is due to the servlet spec. I think you are using 2.3 or 2.4 (or maybe 2.5; I think it's the one in 4.2.0), so take a look in http://struts.apache.org/1.2.9/userGuide/configuration.html, and look for this "126.96.36.199 Configure the Struts Tag Libraries (Servlet 2.3/2.4)" whith your browser.