*.class不能自动刷新
我现在的配置是Windows2000pro+apache1.3.22+tomcat4.0.1;
当*.class改变时tomcat容器不能自动更新,总是为启动tomcat时的class,其中reloadable="true"。
请教各位大虾,如何才能把其设置为自动检索class,既当发现*.java改变时自动编译然后使用新编译的class代替原来的;或者.class不存在时就自动查找其对应的.java,然后编译。
问题点数:100、回复次数:3Top
1 楼zxhong(红透半边天)回复于 2002-11-13 11:11:10 得分 0
建议清掉
tomcat/work
下的文件
Top
2 楼titaninwinter(梦里花落)回复于 2002-11-13 11:16:23 得分 0
tomcat4好像支持自动刷新了Top
3 楼salute(一粥一饭)回复于 2002-11-13 11:20:17 得分 100
Signal an existing application to shut itself down and reload. This can be useful when you've recompiled classes on an application that is not configured with the reloadable="true" attribute in its <Context> entry in $CATALINA_HOME/conf/server.xml, or when you've made other changes (such as to conf/web.xml) that are not automatically recognized by TomcatTop




