File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Configured Tomcat-IIS , Servlet Reload Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Configured Tomcat-IIS , Servlet Reload Problem" Watch "Configured Tomcat-IIS , Servlet Reload Problem" New topic

Configured Tomcat-IIS , Servlet Reload Problem

Ganesh Anekar
Ranch Hand

Joined: May 13, 2001
Posts: 36
Hi there,
I have configured Tomcat-IIS under NT , but my servlets are not getting reloaded ..
What could be the problem? Can any one guide me? is there in settings for Server.xml for page refresh?
Thankx in advance.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
In the <Context> tag, in server.xml you have the reloadable attribute:
reloadable="true" should work.
Ganesh Anekar
Ranch Hand

Joined: May 13, 2001
Posts: 36
Thankx for u r reply
I have already done that there any other settings?
pls tell ...
Brett B Doehr

Joined: Jun 04, 2001
Posts: 11
It also depends on where your servlet classes are located. If they are .class files, store them in the/WEB-INF/classes directory relative to your HTML/JSP pages. If they are in .zip or .jar files, store them in the /WEB-INF/lib directory.
If they are in another directory that is in your CLASSPATH, they
will be found initially but will not be dynamically reloaded. (I know, I wasted a lot of time on this one. <sigh> )
I agree. Here's the link:
subject: Configured Tomcat-IIS , Servlet Reload Problem
It's not a secret anymore!