File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Passing Table values to action class
Vijay jai Singh
Joined: Jan 07, 2009
Oct 31, 2009 02:25:17
In one of my web page i have HTML table. This table will have 0 or more rows and each row has 3 column.
it is like this:
<table> <tr> <td>Row1-Col1</td> <td>Row1-Col2</td> <td>Row1-Col1</td> </tr> <tr> <td>Row2-Col1</td> <td>Row2-Col2</td> <td>Row3-Col1</td> </tr> </table>
i want to transfer values of columns to Action class.
is there any way to
1) get number of rows in table
Joined: Oct 27, 2009
Oct 31, 2009 05:59:30
requirement is not clear .Be more detailed... how are values set in the table??
author & internet detective
Joined: May 26, 2003
Oct 31, 2009 06:32:15
2) You can transfer the values to a hidden form field and submit that in your form.
OCA 8 book
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: Passing Table values to action class
Help me to have a sortable table in my html profile!
arranging display in a panel with grid bags...
2D Array or linked list
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015