Versions Compared

Key

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

Excerpt
hiddentrue

Application-specific Struts Controller Configuration

The Struts Controller Spring config for actions should be done in action

 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.

...