File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes httpheader no caching off pdf? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "httpheader no caching off pdf?" Watch "httpheader no caching off pdf?" New topic
Author

httpheader no caching off pdf?

Frank Jacobsen
Ranch Hand

Joined: May 17, 2002
Posts: 339
We dont want to cache the pdf document on the browsers temporary files !

I tried this, but i dosent work, any good ideas ???



Frank
[ March 31, 2006: Message edited by: Bear Bibeault ]
Vinod Dalal
Greenhorn

Joined: Mar 23, 2006
Posts: 3
Hey

If you are just looking to see a new pdf, then you may try attaching a random number at the end of the url. so this makes sure that you dont see a cached file.

I used this approach, so that i can see a new or updated file at the same URL and it worked for mr
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: httpheader no caching off pdf?
 
Similar Threads
Blank PDF displayed on IE once every 5 to 6 attempts
Question on cache control...
Prevent caching of pdf documents over SSL
opening pdf file in servlet
session.invalidate doubt