title: how can i write a jsp page that include save , submit, view buttons?
body: <p>i want write a jsp page which must have 3 buttons like $save$ to save the      process we have done, to delete, to view what we have done.</p>
  
  <pre><code>i tried as :
  &lt;form action="go_save" method="post"&gt; // how to go_view.jsp, go_delete.jsp
     &lt;input type="submit" name="submit" value="SUBMIT"&gt;
  
  
  code :
        &lt;%@page contentType="text/html" pageEncoding="UTF-8"%&gt;
       &lt;!DOCTYPE html&gt;
       &lt;html&gt;
       &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
      &lt;title&gt;JSP Page&lt;/title&gt;
      &lt;/head&gt;
       &lt;body&gt;
       &lt;h1&gt;Hello World!&lt;/h1&gt;
       &lt;form action="go.jsp" method="post" &gt;
           name&lt;input type="text" name="name"&gt;
           age&lt;input type="text" name="age"&gt;
           &lt;input type="button" value="Save" name="Save" 
           onclick="document.forms[0].action = 'go_save.jsp'; return true;" /&gt;
            &lt;input type="button" value="view" name="view" 
            onclick="document.forms[0].action = 'go_view.jsp'; return true;" /&gt;
         &lt;/form&gt;
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>but here the page is not redirecting to the given pages like go_view, go_save.
  i want to catch these values name, age in go_view, go_save . but how ?</p>