Hi,

three choices:

- export the stuff to a CSV (comma separated value) file. Excelt usually
  reads that stuff perfectly
  - do not need any further libraries
  - does not support formatting of the data from the server side
- use POI (<http://jakarta.apache.org/poi/>)
  - exports real excel-files
- use OpenOffice
  - allows to export as excel
  - needs a X-Server on the server
  - needs special care (not all methods are thread save)

hth
Alexander

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 4. Februar 2004 10:07
To: [EMAIL PROTECTED]
Subject: How to export the html table contents (records) to an Excel
file.


Hi,

I have webpage (.jsp) which lists out 4 to 5 records (having say 4 to 5 columns)
inside html table tag.  This page, has an "Export" button, at the bottom.  On
click of this button, I need to export the records (that the current page is
displaying) to an .xls (Excel format) file.

Shall be greatful if anyone can tip me on this.

Thanks,
S.Srikanth



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to