This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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."
Joined: Jul 29, 2002
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.