• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unloading servlet when changed

 
kumar prabhakar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
How to unload the servlet explicitly?There is no way to call destroy method from a servlet code.
Whenever i change the servlet code ,i have to close and start the server again to check the output instantly.
Thanks to all for helping me out to solve the previous problems !
 
Tim Moores
Bartender
Posts: 2946
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There shouldn't be a need to restart the server - most servlet containers (like Tomcat) have an option to reload individual web apps through a management console. Should be quite a bit faster than restarting the server.
 
kumar prabhakar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
I have edited my tomcat-users.xml ,now i am able to use the management web page of tomcat sever.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic