A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Struts2 About using AbstractInterceptor
Joined: Jan 30, 2009
Mar 20, 2009 21:53:47
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
Joined: Aug 03, 2008
Mar 21, 2009 05:44:39
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
I agree. Here's the link:
subject: Struts2 About using AbstractInterceptor
HFS: ambiguity in coffee cram ?
Struts2 customized Exception handler
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014