spring和struts2整合详解
首先,我们要了解,web.xml中的各种元素在web容器中的加载顺序:listener(监听器)>filter(过滤器)>servlet.
在web.xml中配置如下: