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
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
2 matches
Mail list logo