web.xml文件的修改会触发AutoDeploy,受host节的autoDeploy配置影响
class类文件修改会触发Reload操作,受reloadable配置影响
而autoDeply和reloadable的配置在conf/server.xml中,类似如下:
<Host name="localhost" appBase="webapps" unpackWARs="true" >
<Context path="/test" docBase="c:/test" reloadable="true"/>
</host>
class类文件修改会触发Reload操作,受reloadable配置影响
而autoDeply和reloadable的配置在conf/server.xml中,类似如下:
<Host name="localhost" appBase="webapps" unpackWARs="true" >
<Context path="/test" docBase="c:/test" reloadable="true"/>
</host>

深入探讨web.xml文件配置如何触发应用部署与类加载机制,解析主机节点配置中的autoDeploy与reloadable属性作用。
945

被折叠的 条评论
为什么被折叠?



