how to pull selected radio button in a jsp
问题 I have two radio buttons, and depending on which one is selected I want to send them to a specific jsp page. I do not know how to pull which button is selected in my java class. Here is the jsp: <form method="post" action="ttp.actions.Sale1Action.action"> <input type="radio" name="radio1" value="packages"checked> packages<br> <input type="radio" name="radio1" value="productions"> productions<br> <input type="submit" value=" next "/> </form> here is the java: public class Sale2Action