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.
Hi, I am trying to generate excel reports through Jasperreports in a web application (still in evaluation mode). I have written the following JSP which is supposed to generate the Excel report. But When I run the example, all the garbage (I think, binary form of the report) comes up in the browser. I have set the content type as response.setContentType("appcation/excel"). Then why is it showing in binary form ? Has anybody use the JAsperreports for excel reporting ina web application before ? thanks in advance... regards, manish <%System.setProperty("jasper.reports.compile.class.path", application.getRealPath("/WEB-INF/lib/jasperreports-0.5.1.jar") + System.getProperty("path.separator") + application.getRealPath("/WEB-INF/classes/") );