• Post Reply Bookmark Topic Watch Topic
  • New Topic

URL rewriting

 
rahul karwal
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ALL,
I have a form ie 3 checkboxes i used javascript to find out which ones are checked now i need to add that to the URL can anyone pls give me an example of how this can be done even a simple example would help.

thanks
aziz
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the issue with simply submitting the form?
 
Natarajan Shankar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead of checking in front-end you can get the checked values in servlet/ controller your using, through request.getParameterValues("checkbox-name").
You need to make sure your using form-POST method
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!