---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- Hmm looks like this trick only works on IE? Netscape 4.7 seems to ignore it.. Also don't put the : in the first parameter, jserv will automatically put it in like this: res.setHeader("Content-Disposition","attachment; filename=resume.doc"); -----Original Message----- In case anybody's interested, I just found the answer to my problem ;) You just need to set the HTTP Header "Content-Disposition:" to include the suggested filename to the client. It goes something like this: res.setContentType("application/msword"); res.setHeader("Content-Disposition:","attachment; filename=resume.doc"); res.setContentLength(data.length); out.write(data); out.flush(); Walla! The Save As dialog comes up with "resume.doc" already filled in. -Rob ----------------- Ryan -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]
