| 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??
|
 |
 |
|
|
subject: error in JSTL
|
|
|