This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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)