aspose file tools*
The moose likes JSP and the fly likes How to Update multiple rows of a table in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to Update multiple rows of a table in jsp" Watch "How to Update multiple rows of a table in jsp" New topic
Author

How to Update multiple rows of a table in jsp

knowmore know
Greenhorn

Joined: May 18, 2011
Posts: 1
Hi helpers,

In my jsp I have multiple rows in a table.
each row is having 3 columns(Lable,Combo Box, TextBox),
Lable and combobox values comes from database.

My issue/dought is :
I need to change the combobox value and text box value in multiple rows and when i press the submit button i have to update all the datas into database.
If any of you provide me the code snippet it would helpful for me.

Thanks in advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

knowmore know wrote:If any of you provide me the code snippet it would helpful for me.

That's not how things work here. You write the code, we help you with it.

Lable and combobox values comes from database.

Please read HtmlHasNoComboBox. Using correct terminology is important for good communication.

I need to change the combobox value and text box value in multiple rows

Change how? And as a result of what? You'll need to TellTheDetails.

and when i press the submit button i have to update all the datas into database.

That's something you'd do in a servlet with JDBC or and ORM tool.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Update multiple rows of a table in jsp