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

Tomcat 4.1 & Servlet Reloading

Eric Christensen
Greenhorn

Joined: Jul 29, 2002
Posts: 15
How can I set Tomcat up so that when I reload a new version of a servlet and an old session accesses the same servlet, it will be reloaded and the client will see the changes?


"No matter how hard you try, you cannot outthink a moron."
Eric Christensen
Greenhorn

Joined: Jul 29, 2002
Posts: 15
I was just looking at the server.xml and answered my own question. I noticed the examples in Tomcat had a reloadable entry set to true. I made a same entry for DefaultContext and it worked. Here's the line I put in:
<DefaultContext reloadable="true"/>
It works like a charm now.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Gee, you are so .
Now if we can just get everybody ELSE to answer their own questions .


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 4.1 & Servlet Reloading
 
Similar Threads
error
Why the exception in my error page is null when error comes from a servlet?
HttpServletRequest.getReader() returns nothing
Migration problem Tomcat version 6 to version 7
Using TLD in JSP