Versions Compared

Key

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

...

In other words, when you access a *.action URL, WebWork's ServletDispatcher proceeds to the invocation of the an action object. Before it is executed, however, the invocation can be intercepted by another object, that is hence called interceptor. To have an interceptor executed before (or after) a given action,

Image Added

just configure xwork.xml properly, like the example below, taken from lesson 4.1.1:

...