# tomcat8.5-source **Repository Path**: humdeef/tomcat8.5-source ## Basic Information - **Project Name**: tomcat8.5-source - **Description**: tomcat 8.5 源码调试 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-09-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tomcat8.5 源码调试 #### 介绍 tomcat 8.5 源码调试 ##tomcat8.5源码说明 ##1.配置: mainClass = org.apache.catalina.startup.Bootstrap VM options = -Dcatalina.home="$ProjectFileDir$\catalina-home" ##2.工作目录 catalina-home 为工作目录 ##3.访问 http://localhost:8080/web/test 如何知道engine 里面添加了host? 通过解析conf/server.xml digester.parse(inputSource); // 调用addChild engine --> host-->context--> wrapper 如何解析or添加web项目? 通过解析web.xml 来添加servlet ContextConfig--》configureStart()-->webConfig()-->createWebXml()