thats fine but now when i am clicking the export button again, the new excel sheet should be open .how to do that or i should get back the control from servlet to html saying that one is opened and when i click the button it should close the old one and open new one. if u cam give me solutions for both of the conditions please..... thanks in advance raghava
> -----Original Message----- > From: Galbreath, Mark [SMTP:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 7:19 PM > To: [EMAIL PROTECTED] > Subject: Re: how to open a excel sheet from aservlet > > That should be: > > <form enctype="application/vnd.ms-excel"> > > -----Original Message----- > From: Galbreath, Mark > Sent: Saturday, May 04, 2002 9:46 AM > > In your HTML/JSP: > > <form enctype="application/vns.ms-excel"> > > In your servlet: > > response.setContentType( "application/vnd.ms-excel"); > > Mark > > __________________________________________________________________________ > _ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
