This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi all, I have 4 radio buttons in my jsp page. The first one should be selected while it is loaded. So,am using the below code: <input type="radio" name="radio1" value="first" checked> The user should be able to select only one radio button. How to do this in jsp? <input type="radio" name="radio2" value="second"> <input type="radio" name="radio3" value="third"> <input type="radio" name="radio4" value="fourth">
If i try the above code,all radio buttons get selected. I need the user to select any one radio button only. Just plain jsp code is needed.