2018-01-03 7:23 GMT+01:00 Yasser Zamani <yasserzam...@apache.org>:
> On 1/3/2018 1:08 AM, José Antonio Delgado Trujillo wrote:
>> If you have a form linked to a bean using key attribute, then when you 
>> submitted, must you instantiate the bean before the call action populate the 
>> properties? Or Strust2 instantiate automatically after you call the action.
>
> You must instantiate bean like below ....

Nope, you do not have to, Struts/OGNL will do it for you

https://struts.apache.org/core-developers/type-conversion.html#null-property-handling


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to