• 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

PDF plugin problem

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a Servlet that creates a PDF and sends it to the client browser. The client browser receives the pdf and displays it if it has the pdf plugin, if not it asks the user to save the file to disk.
The problem occurs on IE and Netscape on Windows XP. When the client browser has the plugin installed, it displays the pdf fine. But lets say the data for the pdf changes and the user sends a new request to the servlet for an updated pdf, the client browser fetches the previously cached pdf ??? How do i stop this from happening ? How do I force the browser to get the "new" pdf and not fetch the old pdf from the cache ? In IE i erased all cached files and i still got the old pdf. It seemed as if the plugin stored the cached pdf ??? (This conjecture might be wrong). In anycase how do i make sure that the client browser gets the new pdf and does not fetch the cached copy?
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not getting much response here. Let's move this to . . . hmmmm . . . well, let's try advanced first.
 
You can't have everything. Where would you put it?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic