Two Laptop Bag
The moose likes Struts and the fly likes Struts2 About using AbstractInterceptor Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply 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
Saloon Keeper

Joined: Aug 03, 2008
Posts: 9191
    
    2

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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Struts2 About using AbstractInterceptor
 
Similar Threads
XSD
Struts2 customized Exception handler
object
HFS: ambiguity in coffee cram ?
Astract Class