配置两个Filter:BFilter和AFilter,
BFilter:放行前输出3,放行,放行后输出4
AFilter:放行前输出1,放行,放行后输出2
被拦截的jsp页面输出5
执行顺序如下:
输出结果:31524