title: Multiple Submit button in Struts 1.3
body: <p>I have this code in my JSP:</p>
  
  <pre><code>&lt;%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%&gt;
  ..
  ..
  &lt;html:form action="update" &gt;
    ..
    ..
    &lt;html:submit value="delete" /&gt;
    &lt;html:submit value="edit" /&gt;
    &lt;html:sumit value="update" /&gt;
  &lt;/html:form&gt;
  </code></pre>
  
  <p>And this in the <code>struts-config.xml</code> file:</p>
  
  <pre><code>&lt;action path="/delete" name="currentTimeForm" input="/viewall.jsp" type="com.action.DeleteProduct"&gt;
     &lt;forward name="success" path="/viewall.jsp" /&gt;
     &lt;forward name="failure" path="/viewall.jsp" /&gt;
  &lt;/action&gt;
  </code></pre>
  
  <p>Like the <code>delete</code> action, I have <code>edit</code> and <code>update</code>. It works fine, if I give the name specifically like <code>&lt;html:form action="delete"&gt;</code> but, how to make it dynamically work for <code>update</code> and <code>edit</code>?</p>