Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Caching Problem in Tomcat

 
Parth Mankad
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all

i am using Tomcat 4.0 and jsp wherein i upload a .dbf file.the file gets uploaded poperly and i am also able to view the contents of the file.i another .dbf file i uploaded then it is always saved with the same name so evertime i upload a dbf file the previous filegets overwritten.my problem i s that the file gets overwrriten properly but tomcat shows me the data of the previous file and not the new file that has been uploaded.i have tried to delete the file and re-create it every time it is uploaded but still i am facing the same problem.i have also put the following in my jsp page


response.setDateHeader("Expires", 0);
response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate");
response.addHeader("Cache-Control", "post-check=0, pre-check=0");
response.setHeader("Pragma", "No-cache");

but still the same problem.plz can u tell me the solution for this
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Exactly what on the server side is supposed to be handling this .dbf file?
Bill
 
Parth Mankad
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the.dbf file is being quiered through jsp page
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic