Versions Compared

Key

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

...

Under the framework's architecture, the standard filter-chain optionally starts with the ActionContextCleanUp filter (or StrutsPrepareFilter since Struts 2.1.3) filter, followed by other desired filters. Lastly, the FilterDispatcher (StrutsExecuteFilter since Struts 2.1.3 or StrutsExecuteFilter) handles the request, usually passing it on to the ActionMapper. The primary purpose of the ActionContextCleanUp is to provide SiteMesh integration. The clean-up filter tells the dispatcher filter exactly when to remove obsolete objects from the request. Otherwise, the ActionContext may be removed before the decorator attempts to access it.

...

Info
titleJavadoc: (org.apache.struts.action2.dispatcher.ActionContextCleanUp)
Wiki Markup
{snippet:id=description|javadoc=true|url=org.apache.struts2.dispatcher.ActionContextCleanUp}
Warning
titleOrder Matters

Since Struts 2.1.3, ActionContextCleanUp and FilterDispatcher are deprecated. Use StrutsPrepareFilter and StrutsExecuteFilter instead.

FreeMarker and Velocity Decorators

...