You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Tony Smith <qu...@yahoo.com> on 2005/08/06 09:21:02 UTC

Multiple Input Bean

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:
Name [         ] address [        ]
People 3:
Name [         ] address [        ]

[Submit Button]

How do I design my ActionForm and Action?

Thanks,



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org