aspose file tools*
The moose likes JSP and the fly likes problem with jstl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "problem with jstl " Watch "problem with jstl " New topic
Author

problem with jstl

Shashi Prakash
Ranch Hand

Joined: Mar 28, 2007
Posts: 40
Hi,

There is org/apache/taglibs/standard/tlv/JstlCoreTLV.class in WEB-INF/lib/standard.jar..


but whenever i am trying to access any jsp which uses jstl I am getting this exception ....


org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:281)
org.apache.jasper.compiler.TagLibraryInfoImpl.createValidator(TagLibraryInfoImpl.java:666)
org.apache.jasper.compiler.TagLibraryInfoImpl.parseTLD(TagLibraryInfoImpl.java:248)
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:163)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:420)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426)
org.apache.jasper.compiler.Parser.parse(Parser.java:133)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.example.web.BeerSelect.doPost(BeerSelect.java:46)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


Thanks,<br />Target Scwcd<br />SCJP 1.4
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Could you please clarify the following :

1. Which version of JSTL are you using ?
2. Where did you get standard.jar from ?
3. What is your container ? If Tomcat, which version ?


[My Blog]
All roads lead to JavaRanch
Shashi Prakash
Ranch Hand

Joined: Mar 28, 2007
Posts: 40
hi ,

I am using 1.1.2 of JSTL..
I downlaoded it from http://www.apache.org/dist/jakarta/taglibs/standard/
and tomcat version is 6.013.....
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

OK. In your JSP file, can you show how you declared your taglib ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with jstl
 
Similar Threads
JSTL uri ?
ReqDisptacher to forward/ include EXTERNAL content
problem with jstl
Sturts-taglib doubt
how to import page from other website