Interceptor plays a crucial role in achieving high level of separation of concerns.
Struts2 interceptors are configurable, we can configure it for any action we want.
We can create our own custom interceptors to perform some common tasks such as request params logging, authentication etc. This helps us in taking care of common tasks at a single location, achieving low maintenance cost.
We can create interceptors stack to use with different actions.
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website