S
sm
Hi, I am using jwsdp-1.2, together with struts 1.1.
I want to use JSTL under that environment, but <c:...> tags work, the
EL doesn't, the following page:
------------------------------
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<cut value="literal string"/>
<% pageContext.setAttribute("filename", "mytestfilename"); %>
filename is <cut value="${filename}"/>
</html>
------------------------------
placed under ROOT (so to make it as simple as possible), runs, gives
output:
------------------------
literal string
filename is ${filename}
------------------------
seems like somehow EL is not enabled? but the strange thing is JTSL
example code works within their war.
any help appreciated!
I want to use JSTL under that environment, but <c:...> tags work, the
EL doesn't, the following page:
------------------------------
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<cut value="literal string"/>
<% pageContext.setAttribute("filename", "mytestfilename"); %>
filename is <cut value="${filename}"/>
</html>
------------------------------
placed under ROOT (so to make it as simple as possible), runs, gives
output:
------------------------
literal string
filename is ${filename}
------------------------
seems like somehow EL is not enabled? but the strange thing is JTSL
example code works within their war.
any help appreciated!