*.class不能自动刷新

Olics 2002-11-13 10:45:11
我现在的配置是Windows2000pro+apache1.3.22+tomcat4.0.1;
当*.class改变时tomcat容器不能自动更新,总是为启动tomcat时的class,其中reloadable="true"。
请教各位大虾,如何才能把其设置为自动检索class,既当发现*.java改变时自动编译然后使用新编译的class代替原来的;或者.class不存在时就自动查找其对应的.java,然后编译。
...全文
95 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
salute 2002-11-13
  • 打赏
  • 举报
回复
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 Tomcat
titaninwinter 2002-11-13
  • 打赏
  • 举报
回复
tomcat4好像支持自动刷新了
zxhong 2002-11-13
  • 打赏
  • 举报
回复
建议清掉
tomcat/work
下的文件

81,122

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧