This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts form bean question" Watch "Struts form bean question" New topic

Struts form bean question

Raistlin Zischer

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 can use custom objects or String[]

-/a<br />certified slacker...yes, my last name is 'do' - <a href="" target="_blank" rel="nofollow"></a>
Consider Paul's rocket mass heater.
subject: Struts form bean question
Similar Threads
Creating dynamic text boxes in Struts 1
Questions that were fill in the blank in SCPJ2
I have 15 textboxes in the form with the same name;how to retreive the values
inserting information in DB from jsp
Issue in submitting the Form with Arraylist in Struts 1.1