在进行java web程序开发过程中,经常遇到这种问题,修改一个java文件(*.java),需要重启web服务器tomcat浪费了大量的时间。在网上找了很多方法发现有一个方法简单好用,就是在tomcat的安装目录conf中找到context.xml文件 在<Context>中添加 reloadable = "true" 即:<Context reloadable = "true">该方法很好用。
在进行java web程序开发过程中,经常遇到这种问题,修改一个java文件(*.java),需要重启web服务器tomcat浪费了大量的时间。在网上找了很多方法发现有一个方法简单好用,就是在tomcat的安装目录conf中找到context.xml文件 在<Context>中添加 reloadable = "true" 即:<Context reloadable = "true">该方法很好用。