File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes JSP browser cache issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP browser cache issue" Watch "JSP browser cache issue" New topic

JSP browser cache issue

Ilyas Ahamed

Joined: Oct 08, 2012
Posts: 2
I have 2 urls:


I access the first url: http://../page1.jsp?param1=ss and did some operations and got the result page.

The issue is when I access the second url: http://../page1.jsp?param1=aa, it is showing the first url's result page.

Tried adding:
response.setDateHeader (“Expires“, 0);
//prevents caching at the proxy server

Pongsakorn Semsuwan
Ranch Hand

Joined: May 15, 2011
Posts: 34

Have you try clearing cache in your browser and then call your second url so that we know it really is caching problem.

A web application developer wannabe from Thailand
My StartUp :
Blog :
I agree. Here's the link:
subject: JSP browser cache issue
It's not a secret anymore!