Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tomcat 5 + taglib: local dtd

Status
Not open for further replies.

kira1983

Programmer
Jul 19, 2005
6
FR
Hi everyone!
I don't want remote dtd like "java.sun.com/dtd/web-jsptaglibrary_1_2.dtd" but a local dtd.
<!DOCTYPE taglib SYSTEM "C:\Program Files\jakarta-tomcat-5.5.9\webapps\PSweb\WEB-INF\web-jsptaglibrary_1_2.dtd">
seems to be working.
But when the jsp with taglib is used it gives me:
org.apache.jasper.JasperException: Exception lors de linitialisation de TldLocationsCache: {0}
org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:252)
org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:223)
org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:519)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:417)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1543)
org.apache.jasper.compiler.Parser.parse(Parser.java:126)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
org.apache.jsp.principal_jsp._jspService(org.apache.jsp.principal_jsp:202)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
intrasec.PSweb.RedirectServlet.doPost(RedirectServlet.java:240)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
intrasec.PSweb.SearchServlet.doPost(SearchServlet.java:576)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Have any idea?
 
I forgot. I am using it with:
"
<%@ taglib uri="/WEB-INF/recupValeurs.tld" prefix="recup" %>
"
and it tomcat says me:
org.apache.jasper.xmlparser.MyEntityResolver resolveEntity
PUBLIC ID invalide:null
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top