Jump to content
We've recently updated our Privacy Statement, available here ×

Excel export output file showing junk characters


satheeshskumar

Recommended Posts

I'm new to JasperReports. I'm able to export PDF report but excel (xls and xlsx) download file is showing junk characters. I didn't understand the issue. Excel export File content, generated by Java with JasperReports 6.11: screenshot of the exported excel file is attached Following code is used for export to Excel: contentType = "application/vnd.ms-excel"; exporter = new JRXlsExporter(); setExporterOutput(new SimpleOutputStreamExporterOutput(servletoutputstream)) .setExporterInput(new SimpleExporterInput(jasperPrint)); (exporter)).exportReport();
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...