struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Antonio Delgado Trujillo <>
Subject Re: validation checkboxlist
Date Thu, 04 Jan 2018 12:24:00 GMT
In the docs about model driven <>

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message