Jump to content
We've recently updated our Privacy Statement, available here ×

nasimjo

Members
  • Posts

    4
  • Joined

  • Last visited

nasimjo's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. finally, a colleague suggested a line of code he remembered he used once upon a time ... and it worked :) here it goes for those who might face the case Code:request.getSession().setAttribute( ImageServlet.DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE, jasperPrint);
  2. I actually know that .... i tried it with a bare naked report with only the chart in it ... and still facing the problem. just for instance, and it case it might help. hitting the imageServlet with the URI referenced by the image (which is in my case: http://localhost:8084/JasperTest/image?image=img_0_0_41) results in this : Code:javax.servlet.ServletException: No JasperPrint documents found on the HTTP session. net.sf.jasperreports.j2ee.servlets.ImageServlet.service(ImageServlet.java:98) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
  3. well, i know that the image Servlet is working by the fact that i use Code:htmlExporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, new Boolean(true)); and when i change the imageServlet's mapping or name that page become full of "not rundered image" icons replacing the layout images. So this is where i got sure the imageServlet IS WORKING!
  4. Im using Jasper reports rendered as html throughout a servlet. I have all my reports working except for those that do include charts, where the charts image do not appear in the result of hitting the servlet. that is, despite the fact that the imageServlet URL is set properly in the web.xml. and noting that no other image rendering problems were reported
×
×
  • Create New...