Java Web????Tomcat?????????????????
???????????? ???????[ 2013/4/28 9:42:33 ] ????????
????2????server.xml?????
??????Tomcat??????????У????Web?????????????Context???????????server.xml?????Context???????JSP??ó?????server.xml???????Host?????????Context???????????
????<Context path="/myapp" reloadable="true" docBase="D:myapp" workDir="D:myappwork"/>
????????path??????·????docBase??JSP??ó????????·????workDir???????????????????????????????????????????????
????3?????????Context???
?????????????????Web???????????????????Tomcat??confcatalinalocalhost???????????XML??????????????£?
????<Context path="/admin" docBase="${catalina.home}/server/webapps/admin" debug="0" privileged="true"></Context>
???????????????????????????ó????Context????????????server.xml?е?Context??????????μ??????????????????????????????????????????xml?????????Tomcat??confcatalinalocalhost????????????£?
?????????????Web??????????webapps???????????л?server.xml???????Context???????Tomcat??conf
????catalinalocalhost?????????xml????????????Tomcat?????????????????
????tomcat????web???????????????????
????1?????????WAR??????????web???????У???????web?????????????$CATALINA_BASE/webapps?????
????2??????web??????????????context?????XML???????????????????$CATALINA_BASE/webapps????????web?????????洢?????????κε????????context????????????????????????web???????????server.xml???????????????????????????????μ?web??????????????Tomcat??
????3???????2??????context??????CATALINA_BASEconfCatalinalocalhost????.????????????2>???Ч??????????????鷢?????2??????????????????.????γ??????????????.
????4???????server.xml??</Host>?????Context?????????????????tomcat???????CATALINA_BASEconfCatalinalocalhost?????????????????.?????????3???????Ч??.???????????ROOT????????С?
?????????????tomcat?????conf/server.xml???????web????????????????????
??????????
????1??????????WEB??÷???webapps?????·????????server.xml?????context?е?docBase?????
????2?????webapps?е?????????У????conf/catalina/localhost??????xml?????
???????webapps??server.xml?е?Host????appBase????????
??????????
????1?????server.xml??Host?????????????????deployXML="false" deployOnStartup="false" autoDeploy="false"
????2?????壺
????deployXML="false": ??????conf/catalina/localhost?μ?xml?????WEB???deployOnStartup="false" : tomcat????????????webapps?μ?????web???autoDeploy="false"??????tomcat??????????????webapps?μ?web?????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11