<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Simple Guide To Sub-reports in JasperReports / iReport</title>
	<atom:link href="http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/</link>
	<description>The blog of Richard Nichols.</description>
	<lastBuildDate>Sun, 05 Feb 2012 00:25:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
	<item>
		<title>By: Kar</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-19762</link>
		<dc:creator>Kar</dc:creator>
		<pubDate>Thu, 01 Dec 2011 05:10:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-19762</guid>
		<description>Hi, I have a question. I made the tutorial but using my own clases, but it has an error, it says:
Exception in thread &quot;main&quot; net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression : 
	Source text : new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{subtotal})

I don&#039;t know why. My &quot;subtotal&quot; is like your &quot;phones&quot; It is a field on my report and it is a list and on my java class too.

Do you have any idea? Thanks</description>
		<content:encoded><![CDATA[<p>Hi, I have a question. I made the tutorial but using my own clases, but it has an error, it says:<br />
Exception in thread &#8220;main&#8221; net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression :<br />
	Source text : new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{subtotal})</p>
<p>I don&#8217;t know why. My &#8220;subtotal&#8221; is like your &#8220;phones&#8221; It is a field on my report and it is a list and on my java class too.</p>
<p>Do you have any idea? Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jey</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-19441</link>
		<dc:creator>Jey</dc:creator>
		<pubDate>Thu, 10 Nov 2011 11:13:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-19441</guid>
		<description>Thanks, Man! You&#039;re a wizard! I wonder how your brain came out with this example! It&#039;s quite simple but very difficult to think about!

Jey</description>
		<content:encoded><![CDATA[<p>Thanks, Man! You&#8217;re a wizard! I wonder how your brain came out with this example! It&#8217;s quite simple but very difficult to think about!</p>
<p>Jey</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M Werner</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-11879</link>
		<dc:creator>M Werner</dc:creator>
		<pubDate>Mon, 16 May 2011 18:50:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-11879</guid>
		<description>@irina
I was having the same issue when trying to use a table instead of a subreport. I&#039;m using JavaBeans set datasource and was able to fix it by cloning the master datasource:

* ((net.sf.jasperreports.engine.data.JRBeanCollectionDataSource)$P{REPORT_DATA_SOURCE}).cloneDataSource()

I&#039;ll also have to move your table / subreport out of the detail band. I have it on the summary band and it&#039;s working fine for me. No missing records.  :-)

Hope it helps.</description>
		<content:encoded><![CDATA[<p>@irina<br />
I was having the same issue when trying to use a table instead of a subreport. I&#8217;m using JavaBeans set datasource and was able to fix it by cloning the master datasource:</p>
<p>* ((net.sf.jasperreports.engine.data.JRBeanCollectionDataSource)$P{REPORT_DATA_SOURCE}).cloneDataSource()</p>
<p>I&#8217;ll also have to move your table / subreport out of the detail band. I have it on the summary band and it&#8217;s working fine for me. No missing records.  <img src='http://d3araz99qvcc8b.cloudfront.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Hope it helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tito Livio Santos Trindade</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-10232</link>
		<dc:creator>Tito Livio Santos Trindade</dc:creator>
		<pubDate>Mon, 02 May 2011 19:20:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-10232</guid>
		<description>Thank you guy!
It works well. It was very important to me.

My best regards...</description>
		<content:encoded><![CDATA[<p>Thank you guy!<br />
It works well. It was very important to me.</p>
<p>My best regards&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Surya</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-8049</link>
		<dc:creator>Surya</dc:creator>
		<pubDate>Fri, 04 Mar 2011 07:58:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-8049</guid>
		<description>How to execute the given code without main() and i write main in other class but in compilation/filling report it gives null pointer Exception ........ 

public static void main(String[] args) {
String jasperFile = /home/suryakirany/workspace/Jasper_Reports/jrxml/fridayreport.jasper;
try {
			
			List ls = ContactFactory.createBeanCollection();

			dataSource = new JRBeanCollectionDataSource(ls);
			
			jasperPrint = JasperFillManager.fillReport(jasperFile,
					new HashMap(), dataSource);
			
			System.out.println( --------- fill succ);
		}catch (Exception e) {
			e.printStackTrace();
		}
	}  // main

java.lang.NullPointerException
	at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)
	at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)
	at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517)
	at com.bms.base.ContactJasperReport.main(ContactJasperReport.java:26)
i also checking in debug mode but it is indicating currentBean as NULL  so
how to resolve this error........</description>
		<content:encoded><![CDATA[<p>How to execute the given code without main() and i write main in other class but in compilation/filling report it gives null pointer Exception &#8230;&#8230;.. </p>
<p>public static void main(String[] args) {<br />
String jasperFile = /home/suryakirany/workspace/Jasper_Reports/jrxml/fridayreport.jasper;<br />
try {</p>
<p>			List ls = ContactFactory.createBeanCollection();</p>
<p>			dataSource = new JRBeanCollectionDataSource(ls);</p>
<p>			jasperPrint = JasperFillManager.fillReport(jasperFile,<br />
					new HashMap(), dataSource);</p>
<p>			System.out.println( &#8212;&#8212;&#8212; fill succ);<br />
		}catch (Exception e) {<br />
			e.printStackTrace();<br />
		}<br />
	}  // main</p>
<p>java.lang.NullPointerException<br />
	at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:89)<br />
	at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:601)<br />
	at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:517)<br />
	at com.bms.base.ContactJasperReport.main(ContactJasperReport.java:26)<br />
i also checking in debug mode but it is indicating currentBean as NULL  so<br />
how to resolve this error&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deeprot</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-8036</link>
		<dc:creator>deeprot</dc:creator>
		<pubDate>Fri, 04 Mar 2011 00:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-8036</guid>
		<description>Thank you! It works like a charm ;) You save my llife :D</description>
		<content:encoded><![CDATA[<p>Thank you! It works like a charm <img src='http://d3araz99qvcc8b.cloudfront.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  You save my llife <img src='http://d3araz99qvcc8b.cloudfront.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: irina</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-7713</link>
		<dc:creator>irina</dc:creator>
		<pubDate>Wed, 09 Feb 2011 12:49:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-7713</guid>
		<description>Thank you very very very much!
But I have a  problem. the first record missing from my subreport. I gone through the FAQ as suggested in jasper site and i did as they instructed in the topic(Why is the first record missing from my subreport?).i added a new parameter in the master report.And also i chaged the parameters in the subreport as given below: 

...

  $P{MySubreportDataSource}

...

And now not a single value is populated in my report.Even the fields in the master report were not populated.
thanks, Irina</description>
		<content:encoded><![CDATA[<p>Thank you very very very much!<br />
But I have a  problem. the first record missing from my subreport. I gone through the FAQ as suggested in jasper site and i did as they instructed in the topic(Why is the first record missing from my subreport?).i added a new parameter in the master report.And also i chaged the parameters in the subreport as given below: </p>
<p>&#8230;</p>
<p>  $P{MySubreportDataSource}</p>
<p>&#8230;</p>
<p>And now not a single value is populated in my report.Even the fields in the master report were not populated.<br />
thanks, Irina</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauro</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-7443</link>
		<dc:creator>Mauro</dc:creator>
		<pubDate>Sun, 30 Jan 2011 15:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-7443</guid>
		<description>It has been very useful to read your tutorial, I could make subreports work in 15 minutes. 
I was quite worried as I realized that I needed subreports (for simple reports I could get away with group break),  as I hadn&#039;t managed to make them work, until now. Thank you for your post.</description>
		<content:encoded><![CDATA[<p>It has been very useful to read your tutorial, I could make subreports work in 15 minutes.<br />
I was quite worried as I realized that I needed subreports (for simple reports I could get away with group break),  as I hadn&#8217;t managed to make them work, until now. Thank you for your post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-7351</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Thu, 27 Jan 2011 14:57:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-7351</guid>
		<description>I&#039;m still having the same problem since last time I posted the message here.  I&#039;m able to make the subreport for the list of collection, but I cannot go to the next level (Dist and SpecialAppt Lists in below) and it always has error cannot find the bean.  
Am I in the wrong approach? Please advise what&#039;s the CORRECT way to design the following Java Bean Hierarchies: Thanks so much, and I really so frustrated and don&#039;t know what to do. 

public class Account implements java.io.Serializable {

    private String acctId;
    private String acctType;
    private List apptList = new ArrayList();
    //etc...
}

public class Appt implements Serializable {

    private String apptId;
    private List distList = new ArrayList();
    private List ppsAppList = new ArrayList();
    //etc...
}

public class Dist  {....}

public class SpecialAppt { ...}</description>
		<content:encoded><![CDATA[<p>I&#8217;m still having the same problem since last time I posted the message here.  I&#8217;m able to make the subreport for the list of collection, but I cannot go to the next level (Dist and SpecialAppt Lists in below) and it always has error cannot find the bean.<br />
Am I in the wrong approach? Please advise what&#8217;s the CORRECT way to design the following Java Bean Hierarchies: Thanks so much, and I really so frustrated and don&#8217;t know what to do. </p>
<p>public class Account implements java.io.Serializable {</p>
<p>    private String acctId;<br />
    private String acctType;<br />
    private List apptList = new ArrayList();<br />
    //etc&#8230;<br />
}</p>
<p>public class Appt implements Serializable {</p>
<p>    private String apptId;<br />
    private List distList = new ArrayList();<br />
    private List ppsAppList = new ArrayList();<br />
    //etc&#8230;<br />
}</p>
<p>public class Dist  {&#8230;.}</p>
<p>public class SpecialAppt { &#8230;}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miguel</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-7324</link>
		<dc:creator>Miguel</dc:creator>
		<pubDate>Wed, 26 Jan 2011 20:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-7324</guid>
		<description>A clear and concise explanation of how it works and how to do it. Excellent. Just what I was looking for. Thank you very much.</description>
		<content:encoded><![CDATA[<p>A clear and concise explanation of how it works and how to do it. Excellent. Just what I was looking for. Thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-7151</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Tue, 18 Jan 2011 22:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-7151</guid>
		<description>thanks for the article. I tried this approach in the report, and it works. 

But my application has a collection of BusinessBean in the AddressBean class. i.e. a subreport inside a subreport. I used similar approach to create a subreport inside the address.jrxml. But I keep getting the following error: Any ideas? Thanks so much!!

net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : businesses at net.sf.jasperreports.engine.fill.JRFillSubreport.prepare(JRFillSubreport.java:711) at 
net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:329) at 


public class AddressBean {    
	private String type;    
	private String address;
	private List businesses; //NEW field
}

public class BusinessBean {
	...
}</description>
		<content:encoded><![CDATA[<p>thanks for the article. I tried this approach in the report, and it works. </p>
<p>But my application has a collection of BusinessBean in the AddressBean class. i.e. a subreport inside a subreport. I used similar approach to create a subreport inside the address.jrxml. But I keep getting the following error: Any ideas? Thanks so much!!</p>
<p>net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: Error retrieving field value from bean : businesses at net.sf.jasperreports.engine.fill.JRFillSubreport.prepare(JRFillSubreport.java:711) at<br />
net.sf.jasperreports.engine.fill.JRFillElementContainer.prepareElements(JRFillElementContainer.java:329) at </p>
<p>public class AddressBean {<br />
	private String type;<br />
	private String address;<br />
	private List businesses; //NEW field<br />
}</p>
<p>public class BusinessBean {<br />
	&#8230;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Overby</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-6984</link>
		<dc:creator>Sean Overby</dc:creator>
		<pubDate>Tue, 11 Jan 2011 13:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-6984</guid>
		<description>Thank you very very very much!</description>
		<content:encoded><![CDATA[<p>Thank you very very very much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boštjan</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-6916</link>
		<dc:creator>Boštjan</dc:creator>
		<pubDate>Fri, 07 Jan 2011 19:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-6916</guid>
		<description>I&#039;ve been stumbling with subreports, reading tutorials, nothing did it for me as simple as this one! Thank you very much, this post is a life saver :D</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been stumbling with subreports, reading tutorials, nothing did it for me as simple as this one! Thank you very much, this post is a life saver <img src='http://d3araz99qvcc8b.cloudfront.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Nichols</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-6193</link>
		<dc:creator>Richard Nichols</dc:creator>
		<pubDate>Wed, 22 Dec 2010 05:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-6193</guid>
		<description>@Mat Sounds like are missing some of the Jasper JARs or dependencies from your project.</description>
		<content:encoded><![CDATA[<p>@Mat Sounds like are missing some of the Jasper JARs or dependencies from your project.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mat</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-6169</link>
		<dc:creator>Mat</dc:creator>
		<pubDate>Tue, 21 Dec 2010 09:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-6169</guid>
		<description>Hi I have sth. like this:

FileInputStream reportSource = null;
        try {
            reportSource = new FileInputStream(&quot;C:\\Documents and Settings\\mkolodziejski\\Moje dokumenty\\Czynsze\\ReportDemo\\src\\com\\visural\\report\\demo.jasper&quot;);
        } catch (FileNotFoundException ex) {
            Logger.getLogger(NewMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        OutputStream outputStreamPDF = null;
        try {
            outputStreamPDF = new FileOutputStream(&quot;Demo.pdf&quot;);
        } catch (FileNotFoundException ex) {
            Logger.getLogger(NewMain.class.getName()).log(Level.SEVERE, null, ex);
        }
        try {
            JasperRunManager.runReportToPdfStream(reportSource, outputStreamPDF, new HashMap(), new JRBeanCollectionDataSource(ContactFactory.create()));
        } catch (JRException ex) {
            Logger.getLogger(NewMain.class.getName()).log(Level.SEVERE, null, ex);
        }
yet it does not work, it throws NoClassDefFoundError

Any ideas why?</description>
		<content:encoded><![CDATA[<p>Hi I have sth. like this:</p>
<p>FileInputStream reportSource = null;<br />
        try {<br />
            reportSource = new FileInputStream(&#8220;C:\\Documents and Settings\\mkolodziejski\\Moje dokumenty\\Czynsze\\ReportDemo\\src\\com\\visural\\report\\demo.jasper&#8221;);<br />
        } catch (FileNotFoundException ex) {<br />
            Logger.getLogger(NewMain.class.getName()).log(Level.SEVERE, null, ex);<br />
        }<br />
        OutputStream outputStreamPDF = null;<br />
        try {<br />
            outputStreamPDF = new FileOutputStream(&#8220;Demo.pdf&#8221;);<br />
        } catch (FileNotFoundException ex) {<br />
            Logger.getLogger(NewMain.class.getName()).log(Level.SEVERE, null, ex);<br />
        }<br />
        try {<br />
            JasperRunManager.runReportToPdfStream(reportSource, outputStreamPDF, new HashMap(), new JRBeanCollectionDataSource(ContactFactory.create()));<br />
        } catch (JRException ex) {<br />
            Logger.getLogger(NewMain.class.getName()).log(Level.SEVERE, null, ex);<br />
        }<br />
yet it does not work, it throws NoClassDefFoundError</p>
<p>Any ideas why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Duarte</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-4998</link>
		<dc:creator>Duarte</dc:creator>
		<pubDate>Fri, 12 Nov 2010 15:31:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-4998</guid>
		<description>I LOVE YOU! :D THX</description>
		<content:encoded><![CDATA[<p>I LOVE YOU! <img src='http://d3araz99qvcc8b.cloudfront.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  THX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Nichols</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-4980</link>
		<dc:creator>Richard Nichols</dc:creator>
		<pubDate>Fri, 12 Nov 2010 06:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-4980</guid>
		<description>@raul
You need to create a data source to pass as a parameter, e.g.
new JRBeanCollectionDataSource(MyBeanFactory.getBeanCollection(parameter));</description>
		<content:encoded><![CDATA[<p>@raul<br />
You need to create a data source to pass as a parameter, e.g.<br />
new JRBeanCollectionDataSource(MyBeanFactory.getBeanCollection(parameter));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raul</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-4961</link>
		<dc:creator>raul</dc:creator>
		<pubDate>Thu, 11 Nov 2010 16:09:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-4961</guid>
		<description>Hi rn I m trying ti use you examples, how will you pass the data from java to ireport ?

I have something like this but is not working

// PDF
reportSource = new FileInputStream(&quot;demo.jasper&quot;);
OutputStream outputStreamPDF = new FileOutputStream(&quot;Demo.pdf&quot;);
JasperRunManager.runReportToPdfStream(reportSource, outputStreamPDF, ?);

Thank you in advance

Raul</description>
		<content:encoded><![CDATA[<p>Hi rn I m trying ti use you examples, how will you pass the data from java to ireport ?</p>
<p>I have something like this but is not working</p>
<p>// PDF<br />
reportSource = new FileInputStream(&#8220;demo.jasper&#8221;);<br />
OutputStream outputStreamPDF = new FileOutputStream(&#8220;Demo.pdf&#8221;);<br />
JasperRunManager.runReportToPdfStream(reportSource, outputStreamPDF, ?);</p>
<p>Thank you in advance</p>
<p>Raul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rn</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-1119</link>
		<dc:creator>rn</dc:creator>
		<pubDate>Fri, 23 Apr 2010 22:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-1119</guid>
		<description>Hi Tina, I used iReport to compile and test the reports - http://jasperforge.org/projects/ireport</description>
		<content:encoded><![CDATA[<p>Hi Tina, I used iReport to compile and test the reports &#8211; <a href="http://jasperforge.org/projects/ireport" rel="nofollow">http://jasperforge.org/projects/ireport</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tina</title>
		<link>http://www.richardnichols.net/2010/02/simple-guide-to-sub-reports-in-jasperreports-ireport/#comment-1117</link>
		<dc:creator>tina</dc:creator>
		<pubDate>Fri, 23 Apr 2010 16:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.richardnichols.net/?p=267#comment-1117</guid>
		<description>I downloaded your example however you are missing code for compiling the reports and testing them.  Could you provide the test code please?  Thanks, Tina</description>
		<content:encoded><![CDATA[<p>I downloaded your example however you are missing code for compiling the reports and testing them.  Could you provide the test code please?  Thanks, Tina</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: d3araz99qvcc8b.cloudfront.net

Served from: www.richardnichols.net @ 2012-02-08 01:45:55 -->
