Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 About using AbstractInterceptor

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting confused in using AbstractInterceptor of webwork

what is so significance of AbstractInterceptor as its methods are different .

why can't i use a normal class which impleents Interceptor interface and override the init service and intercept().

My actual question is what is the significance for using AbstractInterceptor class.

 
Ankit Garg
Sheriff
Posts: 9528
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I guess it is only there to save you from overriding the init and destroy method if you don't want to override them...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic