Hi Experts,
I have a very simple form, which I am trying to submit. for some reason nothing is executing on click of submit.
I do have the associated servlet called "Tracking" (Defined in web.xml as well).
what am I doing wrong?
<form method="post" action="/Tracking">
<table border="1" width="400">
<tr>
<td width="175"><strong>From: </strong><input type="text"size="12" id="from" name="from" style="margin-top:-12px;"/> </td>
<td width="50"></td>
<td width="175"><strong>To: </strong><input type="text" size="12" id="to" name="to" style="margin-top:-12px;"/> </td>
</tr>
<tr>
<td></td>
<td></td>
<td><input type="button" name="SbmBtn" value="submit" style="margin-left: 85px"/> </td>
</tr>
</table>
</form>
Open in new window
Thanks :-) you fixed it :)
Now the button is at least working. Murali when I clicked on submit button, it ddi transfer the control but in the address bar I am seeing:
http://localhost:9080/Tracking , shouldnt this be http://localhost:9080/si2/Tracking
where si2 is my app name.