This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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>
I agree. Here's the link:
subject: Struts form bean question
It's not a secret anymore!