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)