I'm trying to access a variable in stack context form jsp using the struts
tag <s:property>.
The struts debug tag (in struts2) shows me that the key "request" has this
array/map of values:
{javax.servlet.include.servlet_path=/console/Menu.jsp,
struts.request_uri=/console/View.action, struts.view_uri=/console/View.jsp,
[EMAIL PROTECTED],
[EMAIL PROTECTED],
[EMAIL PROTECTED],
javax.servlet.include.request_uri=/console/Menu2.jsp,
javax.servlet.include.context_path=/}
but if I try to write the value of struts.view_uri in the jsp using the tag
<s:property value="#request.struts.view_uri"/> nothing appears. I've also
tried to use <s:property value="#request['struts']['view_uri']"/> without
results.
Am i using in a wrong way the ognl syntax?
Thanks.
--
View this message in context:
http://www.nabble.com/Cannot-access-request-variable-in-stack-context-from-jsp-tf3888285.html#a11022155
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]