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

GonzaloFerreyra

Members
  • Posts

    5
  • Joined

  • Last visited

GonzaloFerreyra's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. Hi Carl thanks a lot, what you told me works perfectly; I wasn't clear about the requirement i needed to fill, but just for the case that someone else needs it too I'll explain it. I needed to add a "sign" area on a copy of a contract generated from the database by my app via a Jasper Report. This sign area needed to be in every page, except the last one, which has its own area of signing. What I did was add this area with other elements in the footer band, and replicate just the other elements in the last page footer, and it works. Again, thanks for the advice. Gonzalo Ferreyra
  2. Thank you Carl, I'll try it and I'll let you know about it.
  3. Hi I'm I have to generate a report which needs to add some content when it's not the report's last page. ¿Can I do it conditionally showing a band? Mi idea was add a band and define a condition "$V{PAGE_NUMBER} < $V{PAGE_COUNT}" in the band's Print When Expression property, but it looks like the $V{PAGE_COUNT} it's evaluated at the end of the report, or in some way that the expression is always false. Thanks in advance for your help. Gonzalo Ferreyra
  4. Hi Sebastian, yes, I was asked about trusting the certificate, and i did it, but I'm still having the problem. I also imported the same certificate in the web server, and the application is running under https without problems, except for this one ..... Thanks Gonzalo
  5. Hello, i'm working in a self signed applet who tries to get a jxrml (jasper reports compiled file, compiled with iReports) from the same server that the html page it's allocated, fill this report and print it at the client's printer. while it's trying to get the report I'm getting : AccessControlException access denied (java.ioFilePermission http://server.intranet:8080/prueba.jasper read) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) at java.security.AccessController.checkPermission(SecurityManger.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java:523) at java.lang.SecurityManager.chechRead(SecurityManager.java:871) .... The applet significative source code is: try { path = this.getCodeBase().toString(); this.report = new URL(path + this.getParameter("reportName")); Map parameters = new HashMap(); JasperFillManager fillManager = new JasperFillManager(); Connection db = this.getConnection(); JasperPrint jasperPrint = fillManager.fillReport( this.report.toString(), parameters, db); JasperPrintManager.printReport(jasperPrint, true); } catch (SecurityException ex) { ex.printStackTrace(this.stream); } catch (JRException jrex) { jrex.printStackTrace(this.stream); } catch (Exception ex) { ex.printStackTrace(this.stream); } where Connection db is a valid connection to the database from which to fill the report. I've read a lot of forums and did a lot of google searches but all suggests to modify the security options on the client, but it's not an option in our project. (a web application). At the server, the report file it's on the same directory than the applet is. I really appreciate a lot if you can help me cause I'm really stuck with this problem :-( Thanks Gonzalo
×
×
  • Create New...