aspose file tools*
The moose likes Tomcat and the fly likes Servlet question, basic question needs answer quick! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Servlet question, basic question needs answer quick!" Watch "Servlet question, basic question needs answer quick!" New topic
Author

Servlet question, basic question needs answer quick!

jim gemlo
Greenhorn

Joined: Feb 24, 2004
Posts: 20
I am doing the examples in the book Pro JSP (very good book by the way) and was wondering if it is necessary to restart the application everytime you create a new application or edit the /WEB_INF/web.xml file? Does the web.xml class get read everytime a servlet is run or is that file just read once when Tomcat is started?
[ March 30, 2004: Message edited by: jim gemlo ]
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12825
    
    5
The web.xml is only read when the application is first started. The Tomcat management interface will let you stop and start an application so you don't have to completely stop Tomcat.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Servlet question, basic question needs answer quick!