Question: how ognl works in struts2?
Answer: OGNL is based on the idea of having a root or default object within the context. The properties of the default or root object can be referenced using the markup notation, which is the pound symbol. It is important to understand that the Action object is always available in the value stack.