Multiple Submit button in Struts 1.3
I have this code in my JSP: <%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%> .. .. <html:form action="update" > .. .. <html:submit value="delete" /> <html:submit value="edit" /> <html:sumit value="update" /> </html:form> And this in the struts-config.xml file: <action path="/delete" name="currentTimeForm" input="/viewall.jsp" type="com.action.DeleteProduct"> <forward name="success" path="/viewall.jsp" /> <forward name="failure" path="/viewall.jsp" /> </action> Like the delete action, I have edit and update . It works fine, if I give the name specifically like <html:form