Hi Experts,
Using this code to export report to pdf get an IllegalStateException error.
JRCHelper.exportPDF(reportSource, request, response, config.getServletContext(), true);
java.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:308)
at org.apache.catalina.core.ApplicationHttpResponse.reset(ApplicationHttpResponse.java:119)
How this happens? I just follow on the sample code. It should work!
Any ideas!
Regards,
Rulix