Re: Getter/Setter

2005-07-07 Thread Michael Taylor
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

RE: Getter/Setter

2005-07-07 Thread Jesse Alexander (KBSA 21)
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

Re: Getter / Setter Problem

2005-03-26 Thread Wendy Smoak
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