• Post Reply Bookmark Topic Watch Topic
  • New Topic

Some Server Side Caching?  RSS feed

 
Kiat Kiat
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Guys,

I have a jsp page to list out all the records in some table. There are 10 records in that table, so Im able to see the 10 records when Im viewing this page. However, I went to delete the records inside the table and tried to view the page again. I'm still seeing 10 records. It seems like there is some caching here?

Im rather sure its not a web browser caching as I have tried to clear the browser cache and I have the following code implemented.

response.setHeader("Pragma","no-cache");
response.setDateHeader ("Expires", 0);
response.setHeader("Expires", "Sat, 6 May 1995 12:00:00 GMT");
response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
response.addHeader("Cache-Control", "post-check=0, pre-check=0");

Im using JBoss 5 and SQLServer 2000. Would appreciate if anyone could help out =D
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kiat Kiat welcome to Javaranch
please choose an appropriate forum for your posts to ensure you get the most appropriate answers.

And check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As seen from your code, there is no web browser caching. At the same time I think there is no server side caching also.
Can you post the code for the JSP.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!