Excerpt | ||
---|---|---|
| ||
Application-specific Struts Configuration |
struts-config.xml (The Struts Configuration File)
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.
Each of your Actions must be configured within the action-mappings section of the struts-config.xml and each action path (e.g., /SearchPeople) must exactly match a bean name within action-servlet.xml. Because our action types indicate the Spring DelegatingActionProxy, it is the bean name within the action-servlet.xml (e.g., /SearchPeople) that maps the bean name to the actual Action (e.g., SearchPeopleAction).
...