Back Forum Reply New

Jasper Reports

I'd like to configure the context to perform my own export on Jasper Reports, now I use the JasperReportsMultiFormatView to create differts reports formats.

My wish would be to save the report (pdf) into a specific server directory, I've tryed configuring the relative -servlet.xml file but I can't configure nor the JasperReportsMultiFormatView nor the JasperReportsPdfView classes because the view resolver always creates a new instance of the class (using the BeanUtils.instantiateClass method) and ignores any lt;propertygt; I set for these classes.

I'm trying to create a new format mapping and pass it to the viewClass JasperReportsMultiFormatView, but the only way I've found to perform it is to extend this class and implement a new constructor which sets my own formatMappings.

Does anybody knows some other solution?

Thanks
¥
Back Forum Reply New