tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Hester" <>
Subject Re: taglib standard 1.0 in Tomcat
Date Thu, 26 Feb 2004 23:32:45 GMT
Nope nothing works.  I put the tlds in WEB-INF and then put that in my system class path. 
Same error.  I took this out of the jsp:

<%@ taglib prefix="c" uri="" %>

that resulted in a static page.

I put this in my web.xml:


that resulted in a dead web-app.  I have all the jars from the standard package in C:\Inetpub\JSP-Files\WEB-INF\lib.
 I have all the included tlds in C:\Inetpub\JSP-Files\WEB-INF

I'm at a loss.  There must be somethiong more that is necessary and undocumented.  For I have
tried every suggestion here that I can find and the only one that discusses this issue where
they are getting the same thing as me is a post here "Using JSTL for the first time." dated
2/18/04 4:16PM.  But his\her fix is the only one I have not tried for I didn't understand
what they did.

George Hester
"Dima Gutzeit" <> wrote in message news:017a01c3fc31$e314bcd0$1400a8c0@dima...
1. You can put all the JAR files of standard library to the WEB-INF/lib directory, without
specifying a thing in web.xml. Tomcat searches for .tld files in his classpath (and those
tlds are encapsulated in standard.jar) , so it should be enough.

2. You can put your tld files in some directory in classpath , lets say WEB-INF/classes or
WEB-INF/lib and specify that location in web.xml.

Hope it helps.

"George Hester" <> wrote in message news:c1k2ah$5s0$
I put all the jars in the standard 1.0 package in \WEB-INF\lib.  That didn't work.  So I put
all the tlds in \WEB-INF.  That didn't work either.

My error is this:

org.apache.jasper.JasperException: This absolute uri ( cannot
be resolved in either web.xml or the jar files deployed with this application

And my jsp is this:

<%@taglib prefix="c" uri="" %>
<!doctype html public "-//W3C//DTD HTML 4.0 Final//EN">
<title>Counter Page</title>
<body bgcolor="white">
<%-- Increment Counters --%>
<c:set var="sessionCounter" scope="session" value="${sessionCounter + 1}"/>
<c:set var="applCounter" scope="application" value="${applCounter + 1}"/>
<h1>Counter page</h1><p>
This page has been visited <b>${sessionCounter}</b> times within the current session<br/>
and <b>${applCounter}</b> times by all users since the application was started.</p>

In my Web.xml I have this:


Nothing helps.

Any suggestions?

George Hester

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message