aspose file tools
The moose likes JSP and the fly likes Set radio button to checked in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Set radio button to checked in jsp" Watch "Set radio button to checked in jsp" New topic
Author

Set radio button to checked in jsp

albert kao
Ranch Hand

Joined: Feb 04, 2010
Posts: 204
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

Joined: Aug 16, 2007
Posts: 1374
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 opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 48842



Request parameters are not scoped variables. They are accessed via the param Map.

This message was edited 1 time. Last update was at by Bear Bibeault



[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
 
subject: Set radio button to checked in jsp
 
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture