feat: expand struts demo lab
This commit is contained in:
@@ -5,14 +5,13 @@
|
||||
http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
|
||||
version="4.0">
|
||||
|
||||
<display-name>Struts2 学习 Demo</display-name>
|
||||
<display-name>Struts2 Demo Lab</display-name>
|
||||
|
||||
<!-- Struts2 核心过滤器 -->
|
||||
<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>
|
||||
@@ -21,8 +20,7 @@
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
<!-- 错误页面配置 -->
|
||||
|
||||
<error-page>
|
||||
<error-code>404</error-code>
|
||||
<location>/error/404.jsp</location>
|
||||
@@ -31,4 +29,4 @@
|
||||
<error-code>500</error-code>
|
||||
<location>/error/500.jsp</location>
|
||||
</error-page>
|
||||
</web-app>
|
||||
</web-app>
|
||||
|
||||
Reference in New Issue
Block a user