In Struts2 even if DMI is turned off still possible to use special parameter action:
. To use this parameter in JSP you need to configure
in your struts.xml
file:
<constant name="struts.mapper.action.prefix.enabled" value="true" />
Special parameters are handled by the action mapper when filter is trying to get action mapping from the filtered URL, and this parameter is added to the form when you use action
attribute of the submit
tag.