开发者

Tomcat context reload after java source file was modified

when developing a web application that deployed on tomcat in eclipse, when the tomcat server is running if I modify a java source file and save it in eclipse, Tomcat will reload the web application, then the session is invalid I need to login again to test.

I think it's a big troube, so I want to k开发者_JAVA技巧now is there anyway to configure tomcat or use another application server can avoid this problem.


You can open Tomcat configuration in Eclipse and choose Never publish automatically option. The default is Automatically publish when resources change

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜