R
Robert Metzger
I am trying to use JSTL with JSP.
I have Tomcat 4.1.31 installed and it responds properly to access
..jsp's for my application. It processes pages with standard JSP tags
(such as jsp:include) correctly.
However, when I try to use JSTL tags, either to access the standard-examples,
or to access my application, I get errors.
I am following the instructions in
java.sun.com/developer/technicalArticles/javaserverpages/faster/index.html
"Faster Development with JavaServer Pages Standard Tag Library"
I have installed jakarta-taglibs-standard-1.1.2, and copied jstl.jar and
standard.jar to ../webapp/myappname/WEB-INF/lib
For example, I click through to standard-examples/elsupport/Out.jsp
and get the following message:
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
Checking
.../web/jakarta-tomcat-4.1.31/webapps/standard-examples/WEB-INF/lib
jstl.jar
standard.jar
.../web/jakarta-tomcat-4.1.31/webapps/myappname/WEB-INF/lib
jstl.jar
standard.jar
The files are identical between the directories.
If I access the following stub page from my application
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html>
<body>
<cut value="${header['User-Agent']}"/>
</body>
</html>
I get the following error message:
org.apache.jasper.JasperException:
/e.jsp(4,0) No such tag out in the tag library imported with prefix c
Thanks for any suggestions on getting JSTL working.
I have Tomcat 4.1.31 installed and it responds properly to access
..jsp's for my application. It processes pages with standard JSP tags
(such as jsp:include) correctly.
However, when I try to use JSTL tags, either to access the standard-examples,
or to access my application, I get errors.
I am following the instructions in
java.sun.com/developer/technicalArticles/javaserverpages/faster/index.html
"Faster Development with JavaServer Pages Standard Tag Library"
I have installed jakarta-taglibs-standard-1.1.2, and copied jstl.jar and
standard.jar to ../webapp/myappname/WEB-INF/lib
For example, I click through to standard-examples/elsupport/Out.jsp
and get the following message:
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
Checking
.../web/jakarta-tomcat-4.1.31/webapps/standard-examples/WEB-INF/lib
jstl.jar
standard.jar
.../web/jakarta-tomcat-4.1.31/webapps/myappname/WEB-INF/lib
jstl.jar
standard.jar
The files are identical between the directories.
If I access the following stub page from my application
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html>
<body>
<cut value="${header['User-Agent']}"/>
</body>
</html>
I get the following error message:
org.apache.jasper.JasperException:
/e.jsp(4,0) No such tag out in the tag library imported with prefix c
Thanks for any suggestions on getting JSTL working.