tomcat

  bin下面放的是脚本文件

  1、Tomcat服务器文件夹的介绍

  1、bin  除非了服务器启动和停止的各种脚本文件window(.bat)linux(.sh)

  2、lib   jarbao

  3、logs  服务器日志

  4、temo  服务器运行时存放的临时文件

  5、conf 核心  存放服务器的配置文件

      1、context.xml  

      监听项目中web.xml文件

      配置数据源来访问数据库

      2、server.xml

        设置了服务器的基本配置 服务的协议,端口号……

        之后我们get请求乱码方式直奔的办法就是在文件connector节点中增加URIEncoding=“utf-8”

      3、web.xml

        设置会话的超时时间是30分钟

        <session-config>

          <session-timeout>30</session-timeout>

        </session-config>

        默认的servlet配置

        服务器规定的各种mime类型设置

        设置默认的欢迎页面

        <welcome-file-list>

            <welcome-file>index.html</welcome-file>

            <welcome-file>index.htm</welcome-file>

            <welcome-file>index.jsp</welcome-file>

        </welcome-file-list>

    webapps  项目不熟到服务器的默认位置(webroot)

    work  没人访问文件为空  当用户访问我们所部属的项目时,会在这个文件夹中胜出对应的文件

    

原文地址:https://www.cnblogs.com/yunfeioliver/p/8066730.html