| Author |
Unable to initialize TldLocationsCache: null
|
Khirod Patra
Greenhorn
Joined: Mar 27, 2008
Posts: 23
|
|
I getting this error When I load JSP org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: null org.apache.jasper.compiler.TldLocationsCache.init(TldLocationsCache.java:249) org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:220) org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:475) 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:1539) org.apache.jasper.compiler.Parser.parse(Parser.java:126) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220) org.apache.jasper.compiler.ParserController.parse(ParserController.java:101) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203) org.apache.jasper.compiler.Compiler.compile(Compiler.java:495) org.apache.jasper.compiler.Compiler.compile(Compiler.java:476) org.apache.jasper.compiler.Compiler.compile(Compiler.java:464) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) ******For JSTL****** 1)jstl.jar and standard.jar exist in WEB-INF/lib 2)In web.xml I hava added:-- <taglib> <taglib-uri>http://java.sun.com/jstl/core</taglib-uri> <taglib-location>/WEB-INF/c.tld</taglib-location> </taglib> <taglib> <taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri> <taglib-location>/WEB-INF/lib/standard.jar</taglib-location> </taglib> 3)c.tld exist in the Directory WEB-INF 4)I have set class Path of jstl.jar and standard.jar(I do not know whether it is Required or Not, Please confrim) My Jsp file:- <%@page contentType="text/html; charset=ISO-8859-1" %> <%@ taglib prefix="c" uri="WEB-INF/c.tld" %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Test.jsp</title> </head> <body> 1+2+3=<c ut value="${1+2+3}"/> </body> </html> Regards Khirod Patra [ June 11, 2008: Message edited by: Khirod Patra ] [ June 11, 2008: Message edited by: Khirod Patra ]
|
 |
 |
|
|
subject: Unable to initialize TldLocationsCache: null
|
|
|