In the docs about model driven
https://struts.apache.org/core-developers/model-driven.html 
<https://struts.apache.org/core-developers/model-driven.html>

It is said that you must to implement the MovelDriven interface just the method 
getModel() to give an Object in which Struts populate with the parameters 
request and placed on the top.

i din’t understand the need of that because i can populate the object if it is 
a field of the Action’s class.

So what is the difference (the use of OGNL?) i can’t accede object properties?

My object person is of type Person class and it is a field of the action 
Register. Why can’t access to levels property of the object person by 
person.levels??

Reply via email to