> -----Original Message----- > From: Debopam Ghoshal [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 26, 2002 2:56 AM > To: [EMAIL PROTECTED] > Subject: setContentType() > > > Hi All, > Can anyone please let me know what are the different content > type settings > available. Actually i want to force the user download an xml > file instead of > it opening in the browser. So for this what content type > setting should i > use so that the user is prompted to download and save the > file instead of > the file directly opening in his browser.
You might want to look at this http://www.fawcette.com/javapro/2002_03/online/online_eprods/servlets_03_08/ > Thanks in advance, > Regards, > Debopam. Vikram. > > ============================================================== > ============= > To unsubscribe: mailto [EMAIL PROTECTED] with body: > "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set > JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com