Versions Compared

Key

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

...

Overwrite destroy to release resources on application shutdown.

Thread Safety

Notewarning

Interceptors must be thread-safe!

A Struts 2 Action instance is created for every request and do not need to be thread-safe. Conversely, Interceptors are shared between requests and must be thread-safe.

A Struts 2 Action instance is created for every request and do not need to be thread-safe. Conversely, Interceptors are shared between requests and must be thread-safe.

...