Skip to content
Advertisement

Tag: startup

How to use DispatcherListener in Struts 2

There is a interface DispatcherListener in Struts2. The docs says “A interface to tag those that want to execute code on the init and destroy of a Dispatcher.” But how to use this interface. If I create a class that implements this interface, how should I configure it to Struts2? Answer When a Dispatcher is instantiated, it could send to

Advertisement