Basically I have two radiobuttons here, with different values, now when submitted the next page should display the selection. But it does not, when i try this with type=text it works fine. Please help.
<form action="Confirm.jsp">
<p>
This is a simple HTML page that has a form in it.
<br>form data is: <strong>${param.QuizAnswer}</strong>
<p>
Hobby:
<input type="radio" name="QuizAnswer" value="cats">Cats
<input type="radio" name="QuizAnswer" value="dogs">Dogs
<input type="submit" name="submit" value="submit">
</form>
And other page has this in the body:
<body>
<p>
This is barebones, sorry.
<p>The Data was entered as:
<strong>${param.QuizAnswer}</strong>
</body>