Excellent! Thanks Don!

E.


On Dec 8, 2006, at 5:56 PM, Don Brown wrote:

The '%' tells Struts to parse it with OGNL.  OGNL is a very powerful
expression language used by the core of Struts 2.  It supports
advanced features like method calls, projection, and data conversion.
You can find more information about ognl here:
http://www.opensymphony.com/ognl/

Don

On 12/8/06, Eric Rank <[EMAIL PROTECTED]> wrote:
I've noticed that there's an EL-like syntax used within some tags in
the sample jsp's that ship with the Struts 2 apps. Namely:

<s:a href="%{url}">

How does the percent sign work in the line above? When I use ${url}
it works just as well.

Am I just behind on Expression Language specs? or is this a
convention that I'm unaware of in the new Struts 2 tags?

Thanks for getting me up to speed!

Eric Rank

---------------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to