Re: Multiple Input Bean

2005-08-06 Thread d d
  Instead of creating name and address fields as your form fields,Prepare a bean class eg empBean with these fields and 'collection' of this new bean as ur action forms fields.Struts has documentation on how to use collections as actionForm variables. Hope this helps u. Best luck, On Sat, 06

Multiple Input Bean

2005-08-06 Thread Tony Smith
Hi, Suppose I have a UserBean: class UserBean{ String name, String address, ... public String getName() ... } In one jsp page, I want to input multiple people beans and send back to server. The jsp UI is something like: People 1: Name [ ] address [] People