Hi.
I try to call a
servlet and to pass parameters to it. My form is very simple:
<form action="HelloWorld" method="get">
<table>
<tr>
<td><label>name</label></td>
<td><input type="text" id="txtName"></input></td>
</tr>
<tr>
<td><label>family</label></td>
<td><input type="text" id="txtfamily"></input></td>
</tr>
</table>
<input type="submit"></input>
</form>
And in my servlet I have inside the doGet method:
String name = request.getParameter("name");
That gets null.
I tried also to add a method of doPost, and to write the same code in it, but I still get NULL.
Any idea ?
Thanks.