Unable to make use of JSTL with Tomcat 4.1

I have downloaded jakarta taglibs 1.1.2 from Jakarta site .Copied the

Jstl.jar under lib directory which I kept under WEB-INF of my specific

web directory but tomcat is unable to identify the tag like forEach, set etc.

Same thing happened with Java Application Server.

The code is like this

Even I tried with prefix c and http://java.sun.com/jstl/core uri

<%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt" %>

<html>

<head>

<title>Simple Example</title>

</head>

<body>

<c_rt:set var="browser" value="${header['User-Agent']}"/>

<c_rt:out value="${browser}"/>

</body>

</html>

regards

Diptish

India

[794 byte] By [Diptish] at [2008-2-7]
# 1
In regards to the problem being observed on "Java Application Server", you may consider consulting the Sun Java System Application Server forums: http://forum.sun.com/jive/category.jspa?categoryID=7
ckamps32 at 2007-7-6 > top of java,Java Enterprise System,Java Enterprise System - General Discussion...