Application-specific Struts Configuration

struts-config.xml (The Struts Configuration File)

 form-beans

Each of your ActionForms must be configured within the form-beans section of the struts-config.xml. In the example below the oas-skeleton has 3 ActionForms.

 action-mapping

Each of your Actions must be configured within the action-mappings section of the struts-config.xml.

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.

For actions that don't need input (hidden or visible), they should not have a form.