my dog learned polymorphism*
The moose likes Servlets and the fly likes HTML 2 Excel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HTML 2 Excel" Watch "HTML 2 Excel" New topic
Author

HTML 2 Excel

Jolly Ag
Greenhorn

Joined: Oct 30, 2002
Posts: 22
Hi Folks
Can you ppl please give some idea about how can a HTML file be converted into Excel file .

Cares
Jesse Beaumont
Ranch Hand

Joined: May 30, 2002
Posts: 43
I'm getting a lot of milage out of this answer Third time in two days...
If you set the content-type to application/vnd.ms-excel and only pass an html table to the browser this will open Excel containing the data in your table. Be sure not to include any html tags other than the table (i.e. no <html>, <head>, <body>, etc)


---<br />Time flies like an arrow,<br />Fruit flies like a banana
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML 2 Excel
 
Similar Threads
Excel-format report
How to output HSSF excel data in browser?
create, read and write ms excel through j2ee( jsp, ejb, servlets)
Export to Excel Dialog Box Always Pops Up
display of japanese characters in Excel report