推荐一篇关于web.xml 中的listener、 filter、servlet 加载顺序的文章,讲的非常详细: http://hangzhou492.blog.51cto.com/67690/750671