I have reports for which i am using Jasper Reports and iReports with Spring Framework.Most of the reports are pdf/xls and wrking fine but one is required to be in RTf format.
Now i have views.properties file where i map the view class.
For RTf i know we dont have any view class as such but either
1. JRTFExporter can be used by first converting report to pdf then to rtf.
2.Or i can use JasperReportsMultiFormatView and customize it to work for RTF and use that customized view class iin views.properties.
This is what i am trying to do .
I wrote a customjasperreportmmultiformat class and pointed my view to this view class in views.properties and i am able to reach inside this class but one thing or another is not working.
mode code is
With this code , it streams my .do file on to output stream ,even if i replace it to pdf format (instead of RTF format.).
I googled a lot but dint find much content.
I hope someone can help me here in this forum.