struts-2.5.14.1 中web.xml的基本配置
2024-09-05 05:44:11
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
id="WebApp_ID" version="3.1">
<display-name>ErrorPage</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list> <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>
<error-page>
<error-code>404</error-code>
<location>/error.jsp</location>
</error-page>
</web-app>
最新文章
- Myeclipse2016部署tomcat服务(别的服务类似)配置环境
- 通过telnet来实践HTTP协议。
- Android小项目合集(经典教程)包含十五个Android开发应用实例
- JavaScript语言基础知识点图示(转)
- ECshop 二次开发模板教程3
- [BEC][hujiang] Lesson03 Unit1:Working life ---Grammar &; Listening &; Vocabulary
- 《University Calculus》-chape4-极坐标与圆锥曲线-极坐标系下的面积与弧长
- Java解析XML文档(简单实例)&mdash;&mdash;dom解析xml
- 伤不起的戴尔台式机XPS8700脆弱的蓝牙
- bitnami redmine 安装插件
- 【重点突破】——Cookie的使用
- Yii2之事件
- LeetCode 48. Rotate Image(旋转图像)
- react native android6+拍照闪退或重启的解决方案
- 转载redis持久化的几种方式
- C++跨平台集成websocketpp
- java之servlet学习基础(一)
- jquery之jsonp相关知识
- [UE4]机器人射击逻辑行为树
- vue中修改了数据但视图无法更新的情况[转载]
热门文章
- kotlin嵌套类
- C++ STL partial_sort_copy iterator
- TensorFlow Object Detection API —— 制作自己的模型
- RTM of ML.NET
- 阶段5 3.微服务项目【学成在线】_day03 CMS页面管理开发_15-异常处理-异常处理流程
- Qt编写数据可视化大屏界面电子看板6-窗体打开关闭
- sparkStream---1
- Linux -- 进程或线程独占CPU
- shell编程(2)
- nodejs连接mongodb(密码)