Reputation: 499
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 know is there anyway to configure tomcat or use another application server can avoid this problem.
Upvotes: 2
Views: 917
Reputation: 52665
You can open Tomcat configuration in Eclipse and choose Never publish automatically
option. The default is Automatically publish when resources change
Upvotes: 1