1) i want to know how to make "Male" to be default selected when page is loaded 2) I would set the value in form bean and on second page i would display radio buttons to change the value. i would like to know how to make one radio button selected as per the value set in form bean
The problem I see is with the way you've written your tag. If you specify a value attribute you should not specify a body and visa-versa. It's confusing because the value in the body is different that what is in the value attrubute. Change your tags to:
Hi, I have a similar problem, but the solution you suggested is unavailable to me since i need to set the radio to the value of a request attribute (a field of an object that gets passed as a request attribute to be more precise). How can I do that?