/tomcat-research

Tomcat源码研究学习

Primary LanguageJavaApache License 2.0Apache-2.0

tomcat-research

Tomcat源码研究学习

##Tomcat简介

  • Tomcat比较关键的几个目录:

    • /bin - Startup, shutdown, and other scripts. The *.sh files (for Unix systems) are functional duplicates of the *.bat files (for Windows systems). Since the Win32 command-line lacks certain functionality, there are some additional files in here.
    • /conf - Configuration files and related DTDs. The most important file in here is server.xml. It is the main configuration file for the container.
    • /logs - Log files are here by default.
    • /webapps - This is where your webapps go.

##Building Tomcat

  • Eclipse工程
  • Tomcat启动过程分析
    • 启动脚本
    • Bootstrap类中的main方法
    • Tomcat处理http请求
    • Tomcat中web应用加载原理