aspose file tools*
The moose likes Servlets and the fly likes Adding servlets to Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Adding servlets to Tomcat" Watch "Adding servlets to Tomcat" New topic
Author

Adding servlets to Tomcat

Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
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

Joined: Mar 22, 2000
Posts: 12825
    
    5
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

Joined: Sep 15, 2001
Posts: 55

Why is it so ?

'Cuz Tomcat is FREE!
If you need hot deploy try Weblogic(Unmistakably NOT Free)
Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
Ok, I got it.
But my client uses, Tomcat... No other choice other than restarting ...
Maya
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Adding servlets to Tomcat