Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

    • Attributes within the XML tag, forward, within the tag, action
      • name (e.g., "SearchResultsPage") must exactly match the value sent to ActionMapping's findForward method in the
        Wiki Markup
        \[action
        |edu.mit.appname.controller.action], which in this example is SearchPeopleAction (e.g., return mapping.findForward("SearchResultsPage")(wink)).

The struts-config.xml is also where /EntryAction is configured to chain to one of your Actions (e.g., the Action associated with the bean name /EnterSearchCriteria). Your app can have multple entry points. Each of these should be like the /EntryAction example below and their action-servlet bean name/ struts-config bean path must be in the format XXXEntryAction (where XXX is some name you choose), otherwise the session restart mechanism will cause your app to loop infinitely.

...