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

JavaRanch » Java Forums » Java » Servlets
Bookmark "HTML 2 Excel" Watch "HTML 2 Excel" New topic

HTML 2 Excel

Jolly Ag

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 .

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/ 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: HTML 2 Excel
It's not a secret anymore!