• Post Reply Bookmark Topic Watch Topic
  • New Topic

running old copy of servlet everytime  RSS feed

 
Anu Pasricha
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Even if i re-compile the program and copy the new class file, the web server (Tomcat) on solaris system is picking up the old copy everytime i run the servlet.
How can i avoid this problem?
Bye
Regards
Anu
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Each "web application" has a Context entry in server.xml that can have a reloadable="true" attribute. Take a look at the Tomcat Examples entry. Tomcat will only look at the servlet class timestamp if you have that set.
Bill
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!