aspose file tools*
The moose likes Struts and the fly likes Struts2 About using AbstractInterceptor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 About using AbstractInterceptor " Watch "Struts2 About using AbstractInterceptor " New topic
Author

Struts2 About using AbstractInterceptor

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
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.


If you want something you never had do something which you had never done
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9293
    
  17

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


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
 
Don't get me started about those stupid light bulbs.
 
subject: Struts2 About using AbstractInterceptor