Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Set radio button to checked in jsp

 
albert kao
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I like to set radio button to checked in jsp.
The following code does not work.
Is musicgroup set properly?
If not, how?
Please help.

 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if it is the correct way to access the URL parameter. Did you try printing the value of 'musicgroup' using JSTL or EL? Does it print correctly?

There is another menthod called addObject(); You should try that.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65545
110
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Request parameters are not scoped variables. They are accessed via the param Map.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!