Pass same xml source to subreport


I am using net.sf.jasperreports.xml.source  to get xml file from remote server. How to pass the same file to subreport?

If I provide net.sf.jasperreports.xml.source  in the subreport then xml file is read from the remote server but it is making a new server call, not reading the same xml file of main report.

How to use the output of net.sf.jasperreports.xml.source from main report to subreport so that remote server is not called in subreport? 

value of net.sf.jasperreports.xml.source  is dynamic like '"http://".concat($P{url}

mohit.garg's picture
Joined: Jun 30 2020 - 8:11pm
Last seen: 1 year 5 months ago

0 Answers:

No answers yet