JasperReports
Generates a JasperReports report using the specified format or PDF if no format is specified.
Parameters |
Required |
Description |
---|---|---|
location |
yes |
the location to go to after execution |
parse |
no |
true by default. If set to false, the location param will not be parsed for Ognl expressions |
dataSource |
yes |
the Ognl expression used to retrieve the datasource from the value stack (usually a List) |
format |
no |
the format in which the report should be generated, defaults to pdf |
contentDisposition |
no |
defaults to "inline" when using documentName unless specified |
documentName |
no |
generates the http header "Content-disposition = <contentDisposition>; filename=<documentName>.<format>" |
<result name="success" type="jasper"> <param name="location">foo.jasper</param> <param name="dataSource">mySource</param> <param name="format">CSV</param> </result>
or for pdf
<result name="success" type="jasper"> <param name="location">foo.jasper</param> <param name="dataSource">mySource</param> </result>