title: Multiple submit buttons in the same form calling different Servlets
body: <p>First, here is the code:</p>
  
  <pre><code>&lt;form action="FirstServlet" method="Post"&gt;
      Last Name: &lt;input type="text" name="lastName" size="20"&gt;
      &lt;br&gt;&lt;br&gt;
      &lt;input type="submit" value="FirstServlet"&gt;
      &lt;input type="submit"value="SecondServlet"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I'd like to understand how to send information in case the <code>FirstServlet button</code> was pressed to <code>FirstServlet</code> and in case the <code>SecondServlet button</code> was pressed to <code>SecondServlet</code>.</p>
  
  <p><strong>important:</strong><br />
  I want to do it in the same form so the same information would be transered to both the servlets. (of course, in the servlets I'll use the info accordingly)</p>