Search from Struts2 Library

Thursday, September 25, 2008

Struts 2 and OGNL

!The article has been taken from the book 'Struts 2 in Action'.If you have already read the book you need not to read it again
Throughout Struts 2 web applications, a need exists to link the Java runtime with the text-based world of HTML, HTTP, JSP, and other text-based view-rendering technologies. There must be a way for these text-based documents to reference runtime data objects in the Java environment. A common solution to this problem is the use of expression languages. As we’ve seen, Struts 2 uses OGNL for this purpose. We’ll now take the opportunity to cover the features of this expression language that you’ll most likely need to use in Struts 2 development.
Here are details
Page 1
Page 2
Page 3
Page 4
Page 5