<?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: More than one value of type [net.sf.jasperreports.engine.JRDataSource] found</title>
	<atom:link href="http://www.techpitcher.com/more-than-one-value-of-type-netsfjasperreportsenginejrdatasource-found.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.techpitcher.com/more-than-one-value-of-type-netsfjasperreportsenginejrdatasource-found.html</link>
	<description></description>
	<lastBuildDate>Thu, 07 Apr 2011 07:04:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Amit</title>
		<link>http://www.techpitcher.com/more-than-one-value-of-type-netsfjasperreportsenginejrdatasource-found.html/comment-page-1#comment-188</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Tue, 28 Jul 2009 13:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://techpitcher.com/?p=166#comment-188</guid>
		<description>Since you are using two datasource for your report. You must tell jasper a default datasource for main report. This can be specified by using reportDataKey
&lt;code&gt;
testReport.class=org.springframework.web.servlet.view.jasperreports.JasperReportsMultiFormatView
testReport.url=reports/testReport.jasper
testReport.reportDataKey=datasource
&lt;/code&gt;
This test report is using reportDataKey to specify datasource used by report.

Let me know if there is any problem you are facing regarding this issue.</description>
		<content:encoded><![CDATA[<p>Since you are using two datasource for your report. You must tell jasper a default datasource for main report. This can be specified by using reportDataKey<br />
<code><br />
testReport.class=org.springframework.web.servlet.view.jasperreports.JasperReportsMultiFormatView<br />
testReport.url=reports/testReport.jasper<br />
testReport.reportDataKey=datasource<br />
</code><br />
This test report is using reportDataKey to specify datasource used by report.</p>
<p>Let me know if there is any problem you are facing regarding this issue.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

