Jump to content

nnvph123

Members
  • Posts

    2
  • Joined

  • Last visited

nnvph123'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. Hi, i have a report in which there is a subreport inside a subreport. I am able to run this report successfully from Ireport, but when i try to run this report from a web applicatoin which is based on spring, data is not getting populated in the sub sub report (i.e the innermost report ). Do I have to configure anything for spring to handle subreports wihtin a subrerport ? Code snippet : <bean id="sampleStatusReport" class="org.springframework.web.servlet.view.jasperreports.JasperReportsMultiFormatView"> <property name="url"> <value>/reports/SoapSampleReport.jasper</value> </property> <property name="subReportUrls"> <map> <entry key="SUBREPORT_FILENAME"> <value>/reports/testsamplereport.jasper</value> </entry> <entry key="SUBREPORT2_FILENAME"> <value>/reports/testsubreport2.jasper</value> </entry> </map> </property> <property name="contentDispositionMappings"> <props> <prop key="pdf">inline; filename=SampleStatusReport.pdf</prop> </props> </property> </bean> Where SUBREPORT_FILENAME is the path for the first subreport in the main report and SUBREPORT2_FILENAME is the path for the subreport within the first subreport. Mail me at nnvphsudhakar@gmail.com.
  2. HI..were u able to figure this out ? i have the same error.. please let me know ..
×
×
  • Create New...