File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes Export  data to Excel in Websphere Portals Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Export  data to Excel in Websphere Portals" Watch "Export  data to Excel in Websphere Portals" New topic
Author

Export data to Excel in Websphere Portals

pulijala hari
Ranch Hand

Joined: May 14, 2005
Posts: 70
Hi,

We are extracting data from database tables and displaying that data in Table format on JSP page. We need to export that data to Excel file in the same format.

I tried setting the response to "application/vnd.ms-excel" in a plain JSP which is working but when it comes to Portal JSP, the same is throwing an error saying java.lang.IllegalArgumentException: application/vnd.ms-excel.

Can any one help in exporting a jsp data to excel file in websphere portals?(JSR 168,though)

Regards,
hari
 
jQuery in Action, 2nd edition
 
subject: Export data to Excel in Websphere Portals
 
Similar Threads
Save a webpage as PDF or Excel file
Encoding Problem When export to excel
download data in the quanvert format
Help required in Exporting to Excel in Struts-Portlet
Excel - IOException Invalid Header signature