This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat 4.1 & Servlet Reloading  RSS feed

 
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
Boost this thread!