I don't know how to reply to a message.

Thank you for responding, greatly appreciated.

On 10/7/07, Buggy Buggerio <[EMAIL PROTECTED]> wrote:
> Hi, I can't get JSTL to work on my webpage.  Here is some info.  Any help is 
> appreicated.
It'd be helpful to post the version of Tomcat, version of JDK/JRE, JSTL
and Servlet Spec, but ...

Apache Tomcat/5.0.27
(that's what i downloaded)

i have asked the tech support for the jdk/jre version
i don't know what a servlet spec is, will look into it

> this is my classpath:

If you're using Tomcat, you shouldn't set any CLASSPATH.
Ok, I don't set the classpath, was just showing it.

> on the webserver, there is a directory /WEB-INF/jstl/

jstl.jar and standard.jar belong in WEB-INF/lib

jaxen-full.jar, jdbc2_0-stdext.jar, jstl.jar, saxpath.jar, standard.jar, 
xalan.jar, xerceslmpl.jar, 

and xml-apis.jar are all now in /WEB-INF/lib/ dir

> Here is my taglib statement:
> <%@ taglib prefix="c" uri="/WEB-INF/jstl/c.tld" %>

I use the standard recommendation:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>

Okay, I tried it with your tag statement and here is the top error:

org.apache.jasper.JasperException: The absolute uri: 
http://java.sun.com/jsp/jstl/core cannot be 
resolved in either web.xml or the jar files deployed with this application
that is why i was trying to do custom tags.  anyway, any suggestion is welcome.

> This is a line in my web.xml.
You don't need to put anything in web.xml to have these recognized.

I have removed web.xml

Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, 
and more!

Reply via email to