Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts2 About using AbstractInterceptor  RSS feed

 
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: 9610
37
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...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!