• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Caching Problem in Tomcat

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the.dbf file is being quiered through jsp page
reply
    Bookmark Topic Watch Topic
  • New Topic