Struts2 form to action fields mapping automatically

Posted by hkansal on Stack Overflow See other posts from Stack Overflow or by hkansal
Published on 2010-05-22T13:55:26Z Indexed on 2010/05/22 14:01 UTC
Read the original article Hit count: 150

Filed under:

Hello,

I would like to know if it is possible, in Struts2, to map an HTML form's fields to those of an action, automatically, without getters and setters.

It is clear that by getters and setters or the ParameterAware interface and the Map, fields can be set in the action, but I just wanted to know if otherwise there was a way.

© Stack Overflow or respective owner

Related posts about struts2