Why I have to restart Tomcat every time I change the code for my servlet? -


when developing servlet using tomcat , eclipse, find have restart tomcat once change code servlet, or see nothing have been changed.

why have that?

and

is there way see change without restart tomcat?

you can configure tomcat reload automatically servlets, configure atribute reloadable true of context.

for tomcat 7 must do.

  1. edit catalina_home/conf/context.xml
  2. change:
<context> 

for:

<context reloadable="true"> 

where catalina_home tomcat installation


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -