Re: Error in report call
Posted by
subhradeep bhatacharya on
URL: http://ofbiz.116.s1.nabble.com/Error-in-report-call-tp140479p140480.html
Hi Dilip,
Try by adding the following two handlers in your controller.xml:
<handler name="jasperreportspdf" type="view" class="org.ofbiz.webapp.view.JasperReportsPdfViewHandler"/>
<handler name="jasperreportsxml" type="view" class="org.ofbiz.webapp.view.JasperReportsXmlViewHandler"/>
Regards,
Subhra
dhilip kumar <
[hidden email]> wrote:
I am creating reports with iReport. I created a XML type of report.
I used the following line in controller.xml to call the report :
But I am getting the following error in the browser :
net.sf.jasperreports.engine.JRException: Element type "import" must be declared.
Did anyone come across this?
Thanks and regards
Dhilip
---------------------------------
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
---------------------------------
Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better.