gpo
02-13-2007, 07:58 AM
I need help in creating a quiz servlet for my questions ,How do you write one that display the results?
I've made a question form and here's it
Part code of the form.
<form action=".../servlet/service" method="get">
Question 5:To which address class does the IP address 126.11.4.3 belong?
<td>
<input type="radio" name="q17_choose1" id="q17" value="Class A">
<label for="Class A">Class A</label> <br>
<input type="radio" name="q17_choose1" id="q17" value="Class B">
<label for="Class B">Class B</label> <br>
<input type="radio" name="q17_choose1" id="q17" value="Class c">
<label for="Class c">Class c</label> <br>
</td>
</table>
</td>
<input type="submit" value="Submit">
</td>
</tr>
</table>
</form>
I've made a question form and here's it
Part code of the form.
<form action=".../servlet/service" method="get">
Question 5:To which address class does the IP address 126.11.4.3 belong?
<td>
<input type="radio" name="q17_choose1" id="q17" value="Class A">
<label for="Class A">Class A</label> <br>
<input type="radio" name="q17_choose1" id="q17" value="Class B">
<label for="Class B">Class B</label> <br>
<input type="radio" name="q17_choose1" id="q17" value="Class c">
<label for="Class c">Class c</label> <br>
</td>
</table>
</td>
<input type="submit" value="Submit">
</td>
</tr>
</table>
</form>