troubleshooting Question

Simple HTML form submission not working.

Avatar of aman0711
aman0711 asked on
Java EEJSPJava
10 Comments3 Solutions242 ViewsLast Modified:
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:&nbsp;</strong><input type="text"size="12" id="from" name="from" style="margin-top:-12px;"/> </td>
          <td width="50"></td>
          <td width="175"><strong>To:&nbsp;</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>
ASKER CERTIFIED SOLUTION
Murali Murugesan
Full stack Java developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 10 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros