Thank's to Roger Mosher! This works... /korre -----Original Message----- From: Roger Mosher [mailto:[EMAIL PROTECTED]] Sent: den 15 februari 2001 13:43 To: Orion-Interest Subject: Re: MIME-types [off topic] K. Granted I am not distributing XML so I set the content type to "application/zip", but the trick to get the SAVE AS dialog for me was the Content-Dispostion header. My code (in a servlet) goes something like this... response.setContentType("application/zip"); response.setContentLength(len); response.setHeader("Content-Disposition","attachment;filename=\"somename.ext \" "); Works most of the time except certain buggy versions of IE 5.5 for which a patch is available from Microsoft (so I believe). Hope this helps? ----- Original Message ----- From: "Konstantin Polyzois" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 5:34 AM Subject: MIME-types [off topic] > This is a little off topic... > > I am developing an app where there will be some xml-files generated. I want > the user to save these to his hard drive. The problem is that Internet > Exploder always displays xml. Is there some MIME type or some trick to make > Exploder pop up a "save as dialog" instead? I have thought about letting the > user "right click" an anchor and letting him "choose save target as.." but I > think it is a little uggly. > > /korre >