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