This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pdf files is created in jboss bin folder.

 
amol Bhandwale
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a web application which created some pdf reports and under jboss default fiolder we created BOL folder.

whenever the report pdf is created in BOL folder it also created in jboss bin folder.

we are creating the reports using ireport as

dataSource = new JRBeanArrayDataSource(reportRows);
JasperDesign jasperDesign = JRXmlLoader.load(strJRXMLPath);
JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, map , dataSource );
JasperExportManager.exportReportToPdfFile(jasperPrint, strPDFPath );

strPDFPath represents the complete path of file.

it's creating the two file one in jboss/bin folder and another in specified folder strPDFPath.

Why this is happing?I am not getting exact reason for this.

Thanks.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A community member already answered/helped you on this one here
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic