Meaningless Drivel is fun!*
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
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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts form bean question
 
Similar Threads
I have 15 textboxes in the form with the same name;how to retreive the values
Questions that were fill in the blank in SCPJ2
Issue in submitting the Form with Arraylist in Struts 1.1
inserting information in DB from jsp
Creating dynamic text boxes in Struts 1