What are the benefits of Interceptors in Struts2?

Answer

Some of the benefits of interceptors are:

  • 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.

All struts2 Questions

Ask your interview questions on struts2

Write Your comment or Questions if you want the answers on struts2 from struts2 Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





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

--------- Tutorials ---