How to purge tomcat's cache when deploying a new .war file? Is there a config setting?

前端 未结 10 1008
忘掉有多难
忘掉有多难 2020-12-09 14:43

I have a simple hello, world servlet application that I am just playing around with, and pushing it out to my tomcat server on a VPS.

When I make a change to my code

10条回答
  •  生来不讨喜
    2020-12-09 15:33

    I had the same issue twice, but in the second time I realized it wasn't a problem on Tomcat at all.. Try to delete the cache of your browser, refresh the page and see if the new version of the page on your server is being shown up. It worked with me.

提交回复
热议问题