1 Reply Latest reply on May 15, 2007 6:43 PM by Joan Horta Tosas

    Taglib URI issue

    Kannan Ekanath Newbie

      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?