On a similar topic, what is the recommended way to move data from the
form beans [subclass of ActionForm] to my business objects. Is it:
A) in each getter and setter, such as:
No member variables
public String getFirstName() { return customer.getFirstName(); }
public void setFirstName(String valu
This really only works if all your properties are Strings or booleans.
Binary types can't be transmitted by HTTP, and so can't be represented
to the user for correction. The ActionForm is a *buffer* to be used by
the HTML tags. Once the data is validated, it can be converted and
transferred to you
2 matches
Mail list logo