indhira Posted June 29, 2010 Share Posted June 29, 2010 Hi all,I am trying to generate a HTML report with images. I am using image servlet. It is opening fine in same browser, but if i try to open it in different browser am not getting the images. When i tried to view the source i found the following error:javax.servlet.ServletException: No JasperPrint documents found on the HTTP session. net.sf.jasperreports.j2ee.servlets.ImageServlet.service(ImageServlet.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) Any help appreciated.Thanks and Regards,Indhira Pannirselvam. Link to comment Share on other sites More sharing options...
lucianc Posted July 2, 2010 Share Posted July 2, 2010 As the error says, the image servlet expects the generated JasperPrint object on the session corresponding to the request. This usually implies that the report generation and the report view happen in the same HTTP session.How is the report filled and exported to HTML in your application?Regards,Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now