0

I have seen similar questions and the answer suggested is place the JSTL jar in the classpath. I have tried both jstl.jar and jstl 1.1.jar bit My error is persistent. The Jars are coming in my web_inf/lib directory so I do not Understand what the problem is. I am using Tomcat 7

My Jsp:

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

My Web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
    <servlet>
    ......

My lib Directory After Deployment:

My WEB_INF/lib Directory

What Should I do I am running out of Options :P

4

2 回答 2

2

Try using jstl-1.2.1 for Tomcat7

Download JSTL 1.2.1 jar

于 2013-08-30T07:40:26.390 回答
1

JSTL 1.1 also requires Standard.jar.

The standard.jar (taglib) library is used to enable the JSTL expression language in JSP page, and it’s always used together with the jstl.jar together.

Download and add it to your lib folder.


Or You can use JSTL 1.2 which does not require standard.jar and also provides performance improvements.

于 2013-08-30T07:36:38.540 回答