simple, response.setContentType("application/vnd.ms-excel"); then column seperator is \t ( td /td in html ) then the row seperator is \n ( tr /tr in html )
guru -----Original Message----- From: tejas patel [mailto:[EMAIL PROTECTED]] Sent: 21 March 2002 19:49 To: [EMAIL PROTECTED] Subject: Export to Excel spread Sheet Hi all, any one knows how to transfer data to excel spread sheet. Basically, My servlet connect to database and display all data in Table in HTML. later on I want to transfer all data to excel spread sheet. any example ... thanks tejas Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® ___________________________________________________________________________ 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