This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Can I use a single Submit button for multiple JSP table rows? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Can I use a single Submit button for multiple JSP table rows?" Watch "Can I use a single Submit button for multiple JSP table rows?" New topic
Author

Can I use a single Submit button for multiple JSP table rows?

Ron Rea
Greenhorn

Joined: Jul 03, 2001
Posts: 23
Is it possible in Struts to:
a) present a JSP containing x number of rows of data
b) allow the user to update several fields on several different lines
c) when the user hits Submit, the rows, including their updated changes, are sent back to the Action class for processing.
I have not been able to figure a way to do this and could really use a hand with this. Thanks!
Ravi Veera
Ranch Hand

Joined: Jun 23, 2001
Posts: 127
Check out the nested beans examples at the jakarta struts site. They should get you going.
Ravi
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Can I use a single Submit button for multiple JSP table rows?
 
Similar Threads
how to pass cell values(td) as hidden things to Action class(struts-2)?
How to get selected records from Data Table in JSF
How can I get the users input?
mutiple record validate
Shopping cart JSP, ActionForm example