Tomcat 7 keeps using an old jsp after an update

前端 未结 6 1940
深忆病人
深忆病人 2021-01-20 23:40

We (the people at my company) have created an application for Tomcat that uses servlets and jsp\'s as a GUI a while ago.

We\'ve just now finished an update where one of

6条回答
  •  被撕碎了的回忆
    2021-01-21 00:11

    I had the same problem but it wasn't the tomcat.
    My Apache was set to allow browsercaching for text/html and text/plain types for 1 month. The call of that page was made per JavaScript and even if you reload the page with Ctrl+F5 those JavaScript calls are still loaded from the browsercache.

    After clearing the browsercache i got the right page.
    From now on i don't enable browsercaching for those types in apache anymore.

提交回复
热议问题