You can access variables in the page context using the OGNL expression
#attr.propertyname, although I also prefer JSP EL.
I'm unsure why this was deliberately left out of the duplicate pages of
the S2 wiki, but it's still described at WW:
See #attr at the bottom of this page:
http://cwiki.apache.org/WW/ognl-basics.html
and here:
http://wiki.opensymphony.com/display/WW/OGNL
It still worked the last time I checked.
Dave Newton wrote:
--- Bill Johnson <[EMAIL PROTECTED]> wrote:
I was under the impression that the <s:property> tag
could access page-scoped variables, but it doesn't
seem to work for me.
AFAIK <s:property.../> access the OGNL stack, not
scoped variables.
Session and request are put on the stack, but not
page. Bear in mind if you're running on a JSP 2.0
container you can just use JSP EL; it's in the
container anyway.
d.
____________________________________________________________________________________
Choose the right car based on your needs. Check out Yahoo! Autos new Car
Finder tool.
http://autos.yahoo.com/carfinder/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]