jstl problem

i am using netbeans 5.5.1.. it came with tomcat 5 and jstl1.1.. i have added the jstl jars to the library. my jsp page contains

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

and my web.xml has

<?xml version="1.0" encoding="UTF-8"?>

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

but i am still getting the exception

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

according to this thread

http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0

there is nothing wrong with what i am doing.. why do i still get the exceptions?

[933 byte] By [hardcodera] at [2007-11-27 10:30:55]
# 1

I found if I added

xmlValidation="false" xmlNamespaceAware="false"

to the <Host> tag in the server.xml file it worked.

(This was already in the default <Host> tag, but I was deploying to a virtual host which had a minimal setup.)

thanks,

Ivan

> but i am still getting the exception

>

> 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

id435a at 2007-7-28 18:05:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Well that error would indicate that it can't find the tld.

This will be related to the jar files standard.jar and jstl.jar

Either

- they are not present in your container (double check)

- you have the wrong version (open with winzip or some other zip tool, and check the manifest version)

evnafetsa at 2007-7-28 18:05:51 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...