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

ajaysharma

Members
  • Posts

    3
  • Joined

  • Last visited

ajaysharma'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. Caching problem is fixed by using following line: exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, "/image?x=" + System.identityHashCode(jasperPrint) + "&image="«»); Thanks, Ajjuuu
  2. Hi All, Please help me. Issue: I have created some drillable reports that were working fine with JDK 1.5 and Tomcat 5.5: for IE web browser. I am tring to run same reports on on jdk 6 and tomcat 6. But drilled image does not change in Internet Explorer. Tomcat Version Used: apache-tomcat-6.0.26 Obervations: ========== 1. Image: i am getting in internet explorer on drilling: is old one. On pressing: Ctrl+F5 drillled image changes. Drillable reports works fine in Mozilla Firefox. 2. Weird Cause may be: this may issue with flushing of image: "img src="image?image=img_0_0_4"; As Tomcat 5.5 uses Jasper libs: jasper-compiler-jdt.jar, jasper-compiler.jar, jasper-runtime.jar And Tomcat 6 uses Jasper libs:jasper-el.jar, jasper-jdt.jar, jasper.jar. Tried to implement but not worked; for Obervations 1 ============================== I put the following line in JSP so that image don't come from Browser cache. <meta http-equiv="expires" content="0"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv=Content-Type content="text/html; charset=windows-1252" /> <% response.addHeader("Cache-Control","no-store"); response.setHeader("Cache-Control","no-cache"); //HTTP 1.1 response.setDateHeader ("Expires", -1); //prevents caching at the proxy server %> ======================================================================================= PLEASE HELP ME OUT ................................................................. ITS URGENT................... HIGH PERIORITY TASK FOR ME ======================================================================================= Wating for your inputs.................................................................. Ajjjjjjjjjjjjjjjjuuuuuuuuuuuuuuuuuuu.................................................................... Post Edited by ajaysharma at 08/13/2010 07:18 I think i have to clear net.sf.jasperreports.j2ee.servlets.ImageServlet cache. Looking for how to do it. Post Edited by ajaysharma at 08/13/2010 09:33
  3. I am tring to add a threshold line in the graphical report. But it is not working. The JRDesignChart disapear on adding JRDesignLine using the code. I have also attached the threshold line graph and jrxml. Please help me. Regards, Ajay Code:JRBand jrBand = jasperDesign.getSummary();List list = jrBand.getChildren();JRDesignLine line = new JRDesignLine();line.setBackcolor(new Color(0,255,0));line.setX(0);line.setY(0);line.setWidth(0);line.setHeight(0);list.add(line);
×
×
  • Create New...