2012/10/15 pirzada rashid <[email protected]>:
> One Question: How can I understand interceptors more. They have certain
> stacking otherwise problems. Is there anyway to understand, How to stack
> interceptors properly to make things work?

On the beginning use stacks defined by framework, you can just tweak
them a bit - add exclude/include methods and so on. Do not change the
order of them, do not remove interceptors if you don't know what do
they do.

If you have a large app or when you are going to deploy it, you can
try to optimise interceptor stack to your needs - removing
interceptors not used in your app (eg. FileUploadInterceptor) or
creating dedicated stacks for each package. Thus will speed up your
application.

http://struts.apache.org/2.x/docs/interceptors.html


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to