• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem With getting value

 
Vinoth Thirunavukarasu
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm new to jsp.I'm using jsp page to list no.of check boxes. I have to get the value using get value by row after submission. Is there any sample code for there.

Please help me.
 
Venki Ananth
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,

Name that check box in JSP/html. Then retrive value in servlet like this!

[code]String [] user_ids=(String[])request.getParameterValues("user_id");[code]

Then use this string array for futher process!!! [beerchug]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!