jQuery in Action, 2nd edition*
The moose likes JSP and the fly likes error in JSTL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "error in JSTL" Watch "error in JSTL" New topic
Author

error in JSTL

parul bajaj
Greenhorn

Joined: Apr 26, 2005
Posts: 8
sir
i am new to JSTL and i am writing the code :

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


<html>
<head><title>JAI SHRI RAM</title></head>
<body>
<c:forEach var="f" begin="1" end="10">
abc
</c:forEach>

</body>
</html>

but the following code is giving the error :

org.apache.jasper.JasperException: This absolute uri (http://java.sun.com/jsp/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application

please tell me that what changes should i do . i am using tomcat 4.1

thanks in advance
parul
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Do you have the JSTL distribution binary??
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Try

instead of
parul bajaj
Greenhorn

Joined: Apr 26, 2005
Posts: 8
sir i have tomcat 4.1.31 and also have JSTL binary but it is not running well.when i am writing the code for startdard tags the it is giving up the error . please tell me that where to put up the files ..
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
you can put the binary under "lib" directory inside your app directory. Like, myapp/lib/.

Have you tried to change that URI??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error in JSTL
 
Similar Threads
How to get a connection from the connection pool in a servlet
error while using taglib for JSTL
deploying jstl problem
According to TLD or attribute directive in tag file, attribute value does not accept any expressions
jstl tlds entry in web.xml