0 Replies Latest reply on Aug 12, 2004 5:31 AM by Pritam Kumar Mohanty

    Relative URI problem in Jboss

    Pritam Kumar Mohanty Newbie

      Hi guys,

      I have the web-jsptaglibrary_1_1.dtd put under WEB-INF\dtds . One of my tlds which is under WEB-INF\tags\up is referring to the dtd like this

      <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "../../dtds/web-jsptaglibrary_1_1.dtd">

      When i start the jboss server and try to access any custom tag which refers the tld, server throws an exception like this

      org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: XML parsing error on file /WEB-INF/tags/up/<file-name>.tld

      But if i change the reference of dtd to something like this

      <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">


      the problem disappears.

      Basically it's a problem of relative URI in jboss.

      Can anybody help me solve this problem of relative URI?