jasper report in grails-Collection of common programming errors
I use jasper plugin to get report in pdf .I am trying to get report using this example(http://grails.org/plugin/jasper).To get particular id information in pdf format used below codes.
I used above code in show.gsp page to get particular id report.
I use above code in web-apps/report folder use.jasper.
Error 500: Executing action [index] of controller [org.codehaus.groovy.grails.plugins.jasper.JasperController] in plugin [jasper] caused exception: null
Servlet: grails
URI: /inventoryManagment/grails/jasper.dispatch
Exception Message: invalid stream header: 3C3F786D
Caused by: invalid stream header: 3C3F786D
Class: Unknown
At Line: [-1]
But i am getting error that is invalid stream header: 3C3F786D. So please guide me to solve this problem.
-
It looks like you are refering to the subreport using the .jrxml file. But, you should be using the compiled version .jasper.
I hope that works!