A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to pass cell values(td) as hidden things to Action class(struts-2)?
Joined: Oct 27, 2009
Dec 08, 2009 06:00:20
I have a table with a few rows...The user is supposed to select a row and click on submit button.Now I need to pass the cell values to action class to set them in the table present in next jsp...How to achieve this?
Joined: Sep 29, 2008
Dec 08, 2009 07:50:29
Use a form? Use a link with GET params?
Joined: Dec 04, 2009
Dec 08, 2009 08:30:05
you can try this way
... and in action get that hidden fields value.
I agree. Here's the link:
subject: how to pass cell values(td) as hidden things to Action class(struts-2)?
Get cell values of a JTable row.
How to store HTML table values in DB
Updating data in the JTable
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015