Menu

#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


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.