Error while Deploying custom jasperreport in ofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
su2
Reply | Threaded
Open this post in threaded view
|

Error while Deploying custom jasperreport in ofbiz

su2
Hi,

I am trying to deploy a custom report in ofbiz application.

I have created a JRXML report template using iReport and in the
controller.xml I have added the following handler

    <handler name="jasperreports" type="view" class="org.opentaps.common.reporting.jasper.JasperReportsViewHandler"/>

The request-uri definition for the report in controller.xml is

 <request-map uri="findProducts.csv">
        <security https="true" auth="true"/>
        <response name="success" type="view" value="findProductsCSV"/>
    </request-map> 

The corresponding view-map is

 <view-map name="findProductsCSV" type="jasperreports" page="component://product/webapp/reports/repository/findProductsReport.jrxml" content-type="text/csv" encoding="none"/> 

in main.ftl file I have link to access the report.

<div class="screenlet">       
        Create EXCEL Sheet
</div>

When I access the url I am getting the Error: File not found

ERROR: can't find the file at https://localhost:8443/catalog/control/findProducts.csv.

I really appreciate if someone can assist me with this.

Thank you in advance.
Su-