Versions Compared

Key

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

...

If you want to just extend one part of ObjectFactory, ie. change how Result s Types are build, you can implement dedicated interface below and register it with dedicated name, see Extension Points for more details. All these builders are available as from version 2.3.16 when StrutsObjectFactory or its descendants is defined as struts.objectFactory - basically this should work with default Struts 2 installation and with the Spring plugin as well.

...

  • ResultBuilder - dedicated interfaces used to build Result Types
    • StrutsResultBuilder it's internal implementation which checks if Result implements ParamNameAwareResult interface to restrict names of parameters set on the instance of Result, see Result Types for more info.

Next: ActionMapper