Hi, can anybody help me in solving the excercise on HFSJ pageno.680 & explain me which steps I am suppose to follow to get a correct order of execution of filters?:confused
Hi, I tried to solve the excercise on HFSJ page No.680.I could recognize which filters will execute but but I failed to answer their order.e.g.In one example,I answered 1,2,5 but the order is 1,5,2.Why is it so?
Hi, If you see in the <filter - mapping> tag two elements we can give one is <servlet-name> and <url-pattern>.First it will goes in the order of <url-pattern> tag at the end of <url-pattern> order it will add the <servlet-name> resouce.thats why order is like that. I think it is helpful for you If you can't understand please let me know.
Originally posted by jayaram parisineni: Hi, If you see in the <filter - mapping> tag two elements we can give one is <servlet-name> and <url-pattern>.First it will goes in the order of <url-pattern> tag at the end of <url-pattern> order it will add the <servlet-name> resouce.thats why order is like that. I think it is helpful for you If you can't understand please let me know.
Thanks, Jayaram
hi pals,
ya i was confused too in this question but thanks for Jayaram's note , so this means all url-pattern ordered then servlet -name... sounds good