T
Tobi
Hi-
I'm using 5.0.28 Tomcat with JSTL 1.1, and am having problems
rendering the variables.
I have declared: <%@taglib prefix="c" uri="http://java.sun.com/jsp/
jstl/core" %> in the JSP.
I have added the c.tld to WEB-INF/tld, as well as standard.jar and
jstl.jar to WEB-INF/lib. I did not declare the
tag lib in web.xml.
For this bit of code:
<%-- Save data with html tags --%>
<c:set var="msg" value="hi <b>John</b>!" scope="page" />
<%-- Show the value after translating special characters --%>
<cut value='${msg}' />
An exception is not thrown in Tomcat, it merely outputs:
${msg}
Has anyone had experience using JSTL 1.1 on Tomcat 5.0.28? In the
notes it the version it was successfully tested on was 5.0.3-so I'm
wondering if it's a version issue, if there is something else
fundamental going on. Unfortunately the Tomcat version can't be
changed-otherwise I would upgrade.
:-/
Thanks for any help!
I'm using 5.0.28 Tomcat with JSTL 1.1, and am having problems
rendering the variables.
I have declared: <%@taglib prefix="c" uri="http://java.sun.com/jsp/
jstl/core" %> in the JSP.
I have added the c.tld to WEB-INF/tld, as well as standard.jar and
jstl.jar to WEB-INF/lib. I did not declare the
tag lib in web.xml.
For this bit of code:
<%-- Save data with html tags --%>
<c:set var="msg" value="hi <b>John</b>!" scope="page" />
<%-- Show the value after translating special characters --%>
<cut value='${msg}' />
An exception is not thrown in Tomcat, it merely outputs:
${msg}
Has anyone had experience using JSTL 1.1 on Tomcat 5.0.28? In the
notes it the version it was successfully tested on was 5.0.3-so I'm
wondering if it's a version issue, if there is something else
fundamental going on. Unfortunately the Tomcat version can't be
changed-otherwise I would upgrade.
:-/
Thanks for any help!