Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

get values from checkbox in jsp  RSS feed

 
Aya Muhannad
Greenhorn
Posts: 22
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have code in jsp that display to user a list of texts in many pages to select one or more
but when the user select many texts form deffirent pages the checkbox contain the last one only
but I need the all slected texts

in jsp



in servlet to get values


the problem is the values array only contain the last selected text
 
Surendra Kumar
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it works for me.
You may have some other issue.
Please post your full servlet code.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!