This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Error while trying to use standard custom tag  from Tomcat5.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Error while trying to use standard custom tag  from Tomcat5.0" Watch "Error while trying to use standard custom tag  from Tomcat5.0" New topic
Author

Error while trying to use standard custom tag from Tomcat5.0

Vishwajit Mankar
Greenhorn

Joined: Nov 30, 2004
Posts: 7
Hello All,
I am getting following exception when I try to access my JSP. I have put jstl.jar in /WEB-INF/lib folder. But it doesn't contain talib.tld. Where will I get that and do I have to put in jstl.jar.

exception
org.apache.jasper.JasperException: Unable to read TLD "META-INF/taglib.tld" from JAR file "file:/C:/Tomcat5.0/webapps/exam/WEB-INF/lib/jstl.jar": java.lang.NullPointerException
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:50)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:411)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:183)
at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:181)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:418)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:483)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1539)
at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:220)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:203)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:490)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:471)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:459)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Thanks,
Vishwajit


Vishwa
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error while trying to use standard custom tag from Tomcat5.0
 
Similar Threads
Problem with a simple struts application
Cannot able to Add jstl.jar file
NullPointerException while running a jsp
file "/WEB-INF/struts-bean.tld " not found error
Unable to Resolve JSTL taglib Declaration