THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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,
just configure xwork.xml
properly, like the example below, taken from lesson 4.1.1:
...