I am able to generate Excel file and writing to output stream. But browser is not able to recognise the file format and open it with default MSExcel. it is always firing "open with" dialog box. I am setting content type as application/vnd.ms_excel. Any ideas???????????????????????
Thanks, Murali "Kuruba, Chandrashekar (Cognizant)" wrote: > Hi, > > I think you can try this option... > you can set the contentType attribute of the page directive to > "application/vnd.ms_excel" i,e > <%@ page contentType = "application/vnd.ms_excel" %> > > Shekar > > -----Original Message----- > From: Murali Mohan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 27, 2002 7:27 PM > To: [EMAIL PROTECTED] > Subject: How to export data to excel sheet from JSP > > Hi, > > How to export data to excel sheet from JSP????????? > > Any Idea??????????? > > Thanks, > Murali > > =========================================================================== > 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 > > ------------------------------------------------------------------------ > Name: InterScan_Disclaimer.txt > InterScan_Disclaimer.txt Type: Plain Text (text/plain) > Encoding: 7bit =========================================================================== 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