| Author |
send values from javascript to servlet
|
sahana mithra
Ranch Hand
Joined: Oct 26, 2010
Posts: 72
|
|
In the code below I get the values from checkbox and onClicking the checkbox and delete/modify I want to send the values of the checkbox and the type of the button to servlet. How to do that?
|
 |
Swastik Dey
Ranch Hand
Joined: Jan 08, 2009
Posts: 1188
|
|
|
Can't you use getParamterValues at server end, that seems to be earier.
|
Swastik
|
 |
sahana mithra
Ranch Hand
Joined: Oct 26, 2010
Posts: 72
|
|
Hi swastik,
I need to get checkbox values and delete/modify which is in the final part of code as well.
|
 |
Swastik Dey
Ranch Hand
Joined: Jan 08, 2009
Posts: 1188
|
|
Your html/jsp code should look something like this
and servlet code should look something like this
|
 |
 |
|
|
subject: send values from javascript to servlet
|
|
|