InterviewSolution
Saved Bookmarks
| 1. |
How we can configured action mapping in Struts? |
|
Answer» 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> |
|