Hello there,

I'm hoping you can help me in solving this problem; I have a jsp that calls a servlet which then calls the same jsp again after changing the data in the database. The problem is that when the jsp is loaded again, I don't see the changes untill I refresh the page manually (F5 button). I'm guessing its loading the one the cache memory. Now, my question: how do I get it to load a fresh version of the jsp?

I tried using javascript window.reload() and the meta tag refresh function, but both cause the page to keep reloading in the set time period, which causes the page to flicker. I even tried passing a random number attribute to the JSP when being called from the servlet (addnews.jsp?id=343232) but it still keeps loading it from the cache.

Any assistance will be greatly appreciated.

Thank you in advance.