I never done this, so this is just a guess. I'd say you'd store an empty spreadsheet (empty.xls) somewhere on the server and when you click on the export button it invokes the servlet to store the spreadsheet sent in the request and serves empty.xls in the response.
Mark -----Original Message----- From: Raghava Krishna (CTC) [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 04, 2002 10:09 AM 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 > Sent: Saturday, May 04, 2002 9:46 AM > > In your HTML/JSP: > > <form enctype="application/vnd.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
