Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 4.1 & Servlet Reloading

 
Eric Christensen
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Eric Christensen
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gee, you are so .
Now if we can just get everybody ELSE to answer their own questions .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic