How we can configured action mapping in Struts?
To configure the Struts2 action mapping we have to add an action node inside the configuration file struts.xml
.
Here is an example for this:
<action name="*welcome" class="example.action.mapping.LinkAction" method="execute">
<result name="success">/welcome.jsp</result>
<result name="error">/error.jsp</result>
</action>
BY Best Interview Question ON 15 Jan 2019