Excerpt | ||
---|---|---|
| ||
Application-specific Struts Controller Configuration |
action-servlet.xml
...
(Integrating Spring With Struts)
This file should contain a bean entry for every action in your app and they should be singletons. There is normally a base action class that is injected with the service all your actions will call. You can use mock services by overriding this.
...