Hi,

I have a large amount of fields in the JSP that are loaded from XML inside
init of the Controller servlet.

Presently I have FORM 'fields declarations, setters() and getters()' for
every field on the JSP.
This is very tedious as the items on the different forms can increase and
decrease. every time I need a new
field, (for example, an item has been added for the online sales list), I
have to add a new field, new setter() and getter().

I wonder if anyone has a better solution.
with a servlet I could just get a list of parameters and then look through
the ones that were selected. with struts I have to give each field a unique
name, and corresponding setters and getters.

I have thought alot about a better approach here, but I always come up
against the same limitation.
is anyone have the same kind of problem; what did you do to solve it?

your help is appreciated.

...dmw


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to