File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes how to get values from table in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to get values from table in jsp" Watch "how to get values from table in jsp" New topic
Author

how to get values from table in jsp

payal Jain
Ranch Hand

Joined: Dec 20, 2007
Posts: 50
Hi,
I have a table in jsp with dynamically generated rows and coloumns.My first column is of check boxes,second is of some data,third of data and so on.Now when I select check boxes either 1 or more than 1 I need to get those values of that rows, from table in my jsp.So please help me in getting these values.

Thanks in advance..
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

Table elements are not form elements. If you want the data submitted, you'll need to make the values into form elements. You can use hidden element if you don't want them to be visible.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
payal Jain
Ranch Hand

Joined: Dec 20, 2007
Posts: 50
I am new to it,so can you plaese help me with a piece of code
for getting the values of table in jsp.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

That's not how JavaRanch works. You write the code with our help.

What's preventing you from even getting started?
 
jQuery in Action, 2nd edition
 
subject: how to get values from table in jsp
 
Similar Threads
Check Box question
A query
Array troubles...
Best Approach to Designing a Page of Check Boxes
disabling and enabling text boxes