If you mean writing a single method that handles multiple elements, then
the way to handle this is with DynaBeans. Struts uses BeanUtils to
populate the forms, and the DynaBean interface provides support for a
set of generic set/get methods that can handle normal, indexed, and
mapped propertie
Open the source in Eclipse; right-click on a variable; -source- -generate
getter/setter-;
choose the attributes you want, set the options and submit...
hth
Alexander
-Original Message-
From: Vijay K Anand [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 07, 2005 3:23 PM
To: Struts Users
From: "Minn M Soe" <[EMAIL PROTECTED]>
In JSP, Using gives out "No getter
method" error for my pAnswer field, while other fields like "username"
are having no problem.
But when I changed it to , tomcat no
longer gives me any errors.
But I guess pAnswer is the right way to describe my field. What w
3 matches
Mail list logo