tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derrick Koes" <Derrick_K...@skillsoft.com>
Subject RE: Tomcat and JSTL 1.2
Date Tue, 09 Jan 2007 17:13:44 GMT
 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:redirect url="/show.html/">

Perhaps a missing quote in the url attribute?

-----Original Message-----
From: jamin.short@gmail.com [mailto:jamin.short@gmail.com] On Behalf Of
ben short
Sent: Tuesday, January 09, 2007 12:08 PM
To: Tomcat Users List
Subject: Tomcat and JSTL 1.2

Hi all,

Im trying to use jstl 1.2 with tomcat 5.5.20 and java 1.5.0_05-b05.

My webapp deploys ok but when I browse to it I get the following
exception.

xception

org.apache.jasper.JasperException: Unable to read TLD "META-INF/c.tld"
from JAR file
"file:/opt/apache-tomcat-5.5.20/webapps/basket/WEB-INF/lib/jstl-1.2.jar"
:
org.apache.jasper.JasperException: Failed to load or instantiate
TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
	
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServle
tWrapper.java:512)
	
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:377)
	
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

org.apache.jasper.JasperException: Unable to read TLD "META-INF/c.tld"
from JAR file
"file:/opt/apache-tomcat-5.5.20/webapps/basket/WEB-INF/lib/jstl-1.2.jar"
:
org.apache.jasper.JasperException: Failed to load or instantiate
TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
	
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand
ler.java:50)
	
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java
:407)
	
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java
:179)
	
org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.
java:181)
	
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:423)
	
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
	
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1556)
	org.apache.jasper.compiler.Parser.parse(Parser.java:126)
	
org.apache.jasper.compiler.ParserController.doParse(ParserController.jav
a:211)
	
org.apache.jasper.compiler.ParserController.parse(ParserController.java:
100)
	
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
	
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:563)
	
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:305)
	
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)

Heres my simple index.jsp..

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:redirect url="/show.html/>

It simple redirects the incomming request to my spring stuff.

Has anyone got any ideas.

Ben

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message