0

I want to export Html table into Excel file using java or javascript.

2
  • Java and Javascript are not at all the same things, you know that ?You'll need to accept more answers, too. Commented Nov 17, 2010 at 10:35
  • 2
    I want to export Html table into Excel file using java or javascript. Yeah and I want to drive a Bugatti. Please ask a real question. Commented Nov 17, 2010 at 10:43

3 Answers 3

5

You'll need this, if you are using java:

Apache HSSF

(Horrible SpreadSheet Format, which always makes me chuckle)

Sign up to request clarification or add additional context in comments.

Comments

2

Java: you may use

display tag

or parse the HTML and go with

POI-HSSF

Javascript: if you can use ActiveX there you go with

this example

2 Comments

I am generating html file dynamically but i have one common table so by using it's id,can i export whole table in Excel file ?
What do you mean by "one common table" and "its id"? Please elaborate. Anyway: if you are building the HTML you may build the Excel file at the same time using POI/HSSF.
0

If you use GWT, you can add this module http://code.google.com/p/gwt-table-to-excel/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.