Servlet Auto-Reloading in Tomcat

In general or in default, Tomcat automatically reloads a servlet every time when it’s class file has been updated or altered. It seems to be a great assistance for the network administrators during servlet debugging process. If intended to modify the settings, one thing need to be considered that Tomcat runs a scheduler to check the modification duration and implementation time on every servlet available. Administrators suggest to escape auto reloading of the servlet as wraps numerous unnecessary file processing activities. To disable the feature you may set the reloadable attribute of web application’s Context element (web.xml file) and restart Tomcat.

Rate this post:


1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...