Like this article? We recommend
Augment the action.xml File
Add action entries in action.xml for the new action classes, as shown in Listing 4.
Listing 4 action.xmlEntries for the New Action Classes
<action path="/create" actionClass="CreateReplyAction" formAttribute="messageForm" formClass="Message"> <forward name="help" path="/help.jsp"/> <forward name="success" path="/message.jsp"/> </action> <action path="/show" actionClass="ShowMessageAction" formAttribute="messageForm" formClass="Message"> <forward name="help" path="/help.jsp"/> <forward name="success" path="/showmessage.jsp"/> </action>