aspose file tools*
The moose likes Struts and the fly likes Struts form bean question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts form bean question" Watch "Struts form bean question" New topic
Author

Struts form bean question

Raistlin Zischer
Greenhorn

Joined: Jul 05, 2005
Posts: 25
I'm not sure if this question has been asked before, but here goes anyways. I have a jsp page that will contain N textboxes, all with the same name. What type of form bean would I have to set up to handle the information passed by the N textboxes? Would it be something like String[] for the type? Anything special I have to watch out for when doing this.
alan do
Ranch Hand

Joined: Apr 14, 2005
Posts: 354
indexed properties...you can use custom objects or String[]
http://www.developer.com/java/ejb/article.php/2233591


-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
 
jQuery in Action, 2nd edition
 
subject: Struts form bean question