Tomcat Overview
来源:互联网 发布:淘宝开店缴纳保证金 编辑:程序博客网 时间:2024/06/06 13:00
Tomcat是符合JavaEE标准的最小的Web容器
Tomcat主目录
bin - 可执行文件
conf - 配置文件
lib - 类库
logs - 日志文件
webapps - Web应用程序
work - 存放编译后的Jsp文件
conf/Server.xml
// 配置端口号<Connector port="8080" protocol="HTTP/1.1">// 配置虚拟目录// localpath中必须存放WEB-INF/web.xml文件,可以从webapps/ROOT下拷贝// localpath/web.xml的配置会覆盖conf/web.xml的配置<host> <context path="/mappingPath" docBase="localPath"></host>
conf/web.xml
// 开启请求监听<servlet> <init-param> <param-name>listings</param-name> <param-value>true</param-value> </init-param></servlet>// 配置欢迎主页<welcome-file-list> <welcome-file>index.html</welcome-file></welcome-file-list>
错误代码
4XX: 客户端错误
5XX: 服务端错误
0 0
- Tomcat Overview
- Eclipse中Tomcat overview设置
- Tomcat的overview界面浅析
- Overview
- Overview
- Overview
- Overview
- overview-overview
- An Overview of Tomcat 6 Servlet Container : Part 1
- An Overview of Tomcat 6 Servlet Container: Part 2
- Users overview
- UML Overview
- ADO Overview
- VCF overview
- Week Overview
- ADO Overview
- WSN Overview
- XAML Overview
- LeetCode 73. Set Matrix Zeroes
- delphi 实现采集
- HTML Overview
- opencv轮廓检测之椭圆检测-----算法篇(12)--RANSAC
- 三和韓長庚 著 正易 對讀 001-040
- Tomcat Overview
- hnuoj 13103 Easy Delete
- VC++ 6.0支持Unicode
- 我只会用c,求大神帮忙谢谢
- Android学习(11) -- Android的存储
- LeetCode 74. Search a 2D Matrix
- 记一次奇葩的Js劫持事件
- Design Pattern - Behavioral Patterns - Observer Pattern
- Android AVD创建以及设置各个参数的详解