#6 Generate form bean properties local variables in the Action

open
nobody
None
5
2003-01-09
2003-01-09
Anonymous
No

Would you please go one more step to generate local
variables for all the form bean properties in the Action
Class to make it more convenient to access.

Such as: (extracted from SaveRegistrationAction.java from
struts-example)

RegistrationForm regform = (RegistrationForm) form;
String username = regform.getUsername();
String password = regform.getPassword();

Discussion