--- Roger Varley <[EMAIL PROTECTED]> wrote: > Is there any clear documentation that will explain > when you need to use '%', '$' or '#' in Struts2 .jsp > pages as I'm finding it all very confusing.
I thought there was, but I can't access it at the moment. In a nutshell, if you use ${} you're using JSP EL. S2 wraps things up so if what you're trying to access isn't in scope it will get passed on to the OGNL value stack. %{} is OGNL EL and is often optional depending on what attribute you're using... this is the most confusing part AFAIC. # is used for accessing non-root OGNL objects, like an iterator-defined variable, etc. d. ____________________________________________________________________________________ Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit. http://farechase.yahoo.com/promo-generic-14795097 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]