Re: servlet file download works in Firefox, but not in IE

"Phil Puccio" <[email protected]>
Newsgroups gmane.org.user-groups.trijug.juglist
Message-ID <[email protected]>
We've seen this exact problem in IE and not in FF.  We solved it by sending
the HttpServletResponse
setHeader("Cache-Control", "max-age=60");

We had caching turned off across the board, so by the time Word or Acrobat
could start up, the file had already been removed from IE's cache.  (We had
also noticed that if Word was already open before attempting the download,
we wouldn't get the error and the document would open fine.)

So our actions that download files always provide the max-age for
Cache-Control.

HTH,

. . . Phil

_______________________________________________
Juglist mailing list
[email protected]
http://trijug.org/mailman/listinfo/juglist_trijug.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.