forked from admin/struts2-demo
feat: Struts2示例项目
- 基础Struts2框架配置
This commit is contained in:
11
web/WEB-INF/web.xml
Normal file
11
web/WEB-INF/web.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<web-app>
|
||||||
|
<filter>
|
||||||
|
<filter-name>struts2</filter-name>
|
||||||
|
<filter-class>org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter</filter-class>
|
||||||
|
</filter>
|
||||||
|
<filter-mapping>
|
||||||
|
<filter-name>struts2</filter-name>
|
||||||
|
<url-pattern>/*</url-pattern>
|
||||||
|
</filter-mapping>
|
||||||
|
</web-app>
|
||||||
Reference in New Issue
Block a user