Topic: 如何在 Tomcat 4.1.x 下设置动态加载class。每次启动 Tomcat, 太烦了

  Print this page

1.如何在 Tomcat 4.1.x 下设置动态加载class。每次启动 Tomcat, 太烦了 Copy to clipboard
Posted by: wangyi
Posted on: 2003-02-25 19:33


2.Re:如何在 Tomcat 4.1.x 下设置动态加载class。每次启动 Tomcat, 太烦了 [Re: wangyi] Copy to clipboard
Posted by: why
Posted on: 2003-06-24 07:25

Don't have to restart Tomcat (or any other Servlet 2.3 web container)
In the manager, stop your webapp, add new classes, start the webapp.

3.Re:如何在 Tomcat 4.1.x 下设置动态加载class。每次启动 Tomcat, 太烦了 [Re: why] Copy to clipboard
Posted by: 1255
Posted on: 2003-06-24 12:55

why wrote:
Don't have to restart Tomcat (or any other Servlet 2.3 web container)
In the manager, stop your webapp, add new classes, start the webapp.

another method
in <%TOMCAT_HOME%>/conf/server.xml file
in <Context> element
set attribute reloadable="true"
is OK


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923