Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problrm in standardtags in jsp  RSS feed

 
prashanth Kotla
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,
This is prashanth ,I am facing some problem while executing the standars tags in jsp.I am getting following exception.
I have all the tld files which copied in the WEB-INF.
org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

Please check the code
******My jsp code ******
<%@taglib uri="core" prefix="c"%>
<c:set var="varone" value="10"/>
<c:set var="vartwo" value="20"/>
<cut value="${varone }"/>
<cut value=" value of---${vartwo}"/>
******web.xml file********
<?xml version="1.0" encoding="UTF-8"?>
<web-app>
<taglib>
<taglib-uri>core</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
</web-app>
In WEB_INF i copiyed c.tld file.
c.tld
please tell me the solution if any body knows...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!