问题描述
解决方案
<?xml version="1.0" encoding="UTF-8"?>
ssh_demo4
index.jsp
struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
struts2
/*
org.springframework.web.context.ContextLoaderListener
struts2_1
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
struts2_1
*.action
这WEB.XML
解决方案三:
两个struts2过滤器?为什么要这么配置?
解决方案四:
即便你要拦截不同的地址。一个/* ,一个*.action
只要你配置多个url pattern 就行了,干嘛要配两个struts2过滤器?
时间: 2024-09-15 02:50:06