I've had problems opening PDFs from IE before. One thing you may want to try is using the embed tag from an html page. Example:
<OBJECT CLASSID="clsid:CA8A9780-280D-11CF-A24D-444553540000" STYLE="height:100%; width: 100%"> <PARAM NAME="src" VALUE="<url to pdf file>"> </OBJECT>
Might work better.
-Andrew
I've heard this recommendation, and it probably helps in some cases.
The other things to try are (in our application, we need all 3 of these to get PDFs to open in IE):
1) The URL must end with ".pdf". This can be added to the query string if neccesary.
2) The content length header must be set correctly. Neither leaving it unset, nor using HTTP/1.1 chunking, works.
3) The headers must allow the PDF to be cached. Notably, if a security constraint applies to the resource (i.e. the user has to log in to use it), most (?) servlet containers will set Cache-Control headers to disallow caching. You must override these in a servlet.
You also need the mime-type to be correctly set to application/pdf, but that one is easy and _should_ be required, unlike the others :-)
Mike
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
