MS IE has sometimes his own opinion what to open and ignores the content type.
The safest way to convince IE to open PDF is to set the content type to load the file from a url that has the extension .pdf. Additional hint: Make shure that your servlet supports Byte range requests (HTTP 1.1). The acrobat reader sometimes uses this. (Have a look at the source for the servlet that implements the fileserving for tomcat) > -----Ursprüngliche Nachricht----- > Von: Alex [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 21. Juni 2002 09:37 > An: [EMAIL PROTECTED] > Betreff: set content type to text/pdf > > What can i do so my browser automatically opens the pdf > content generated > by the servlet ? > Thanks in advance... -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>