神甫 发表于 2017-1-16 07:30:53

tomcat工作笔记

  2007年5月12日       
  应用程序部署在tomcat上开发,可以任意修改应用程序的类或者jsp等文件(除了xml配置文件),无需重启tomcat,就可以自动识别更新.也就是常说的"tomcat自侦检测功能".在tomcat的config目录下的server.xml配置文件中,第215行有
  <Host name="localhost" debug="0" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">
  这段文字,在这段文字的下面加上
  <Context path="" docBase="ROOT" debug="0" reloadable="true"/> 就可以了!
  -------------------------------------------------------------------------------------------------------------------------------------------------------
页: [1]
查看完整版本: tomcat工作笔记