aspose file tools*
The moose likes Java in General and the fly likes PDF plugin problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "PDF plugin problem" Watch "PDF plugin problem" New topic
Author

PDF plugin problem

Mufaddal Khumri
Greenhorn

Joined: Jun 13, 2002
Posts: 9
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?
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Not getting much response here. Let's move this to . . . hmmmm . . . well, let's try advanced first.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PDF plugin problem