Versions Compared

Key

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

...

However, sometimes you might want the bean to be completely managed by Spring. This is useful, for example, if you wish to apply more complex AOP or Spring-enabled technologies, such as Acegi, to your beans. To do this, all you have to do is configure the bean in your Spring applicationContext.xml and then change the class attribute from your Action in the actionstruts.xml to use the bean name defined in Spring instead of the class name.

...