I have a .jsp page in which i have four buttons named submit,add,update and delete as:
<%@ page language=\"java\" contentType=\"text/html; charset=ISO-885
Assuming you are using Struts2 version 2.3.15.3 or above you need to set struts.mapper.action.prefix.enabled constant to true in order to enable support for action: prefix.
2.3.15.3
struts.mapper.action.prefix.enabled
action:
Put that in your struts.xml file:
struts.xml