aspose file tools*
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
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: HTML 2 Excel
 
Similar Threads
display of japanese characters in Excel report
Export to Excel Dialog Box Always Pops Up
Excel-format report
create, read and write ms excel through j2ee( jsp, ejb, servlets)
How to output HSSF excel data in browser?