• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding servlets to Tomcat

 
Shreya Menon
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
If I add a new servlet to my web application's classes directory and if I modify my web.xml file, shall I need to restart Tomcat each and every time I add a new servlet entry ?
Why is it so ?
Do any one has a link where I can read more about this ?
Thanks,
Maya
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you have to restart Tomcat if you modify the web.xml file. It is so fast that I don't see that as a problem, and it saves lots of grief.
Bill
 
Dave Soto
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Why is it so ?

'Cuz Tomcat is FREE!
If you need hot deploy try Weblogic(Unmistakably NOT Free)
 
Shreya Menon
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok, I got it.
But my client uses, Tomcat... No other choice other than restarting ...
Maya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic