Hi,
I need to use Constants from JSP.
In header.jsp we have <webrbe:constants scope="request"/> which put the
constants into request.
If i try for example to display a constant like <c:out
value="${ADMIN_ROLE}"/> in userList.jsp
it is not displayed. But putting the same <c:out value="${ADMIN_ROLE}"/> in
header.jps or default.jps or even footer.jps displays the constant in a
proper way.
In general all pages injected with <decorator:body/> in default.jps don't
see the constants. Why?
The only way to solve it is to put the constants into application scope
(<webrbe:constants scope="application"/>). But i wander why it is not
working with request scope (and session too btw).
I also found another solution for using some application constants from JSP
- http://forum.java.sun.com/thread.jspa?threadID=508847. Maybe it's a better
way? What do you think?
Regards
Jarek
--
View this message in context:
http://www.nabble.com/Appfuse-1.9.4%3A-Issue-with-Constants-using-tf4532812s2369.html#a12935640
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]