How can I save a jasper report to file? -


please point me in right direction. need program able have view report , save report button. on save report report should saved disk may use path retrieve saved report after program restarts.

in research came jasperfillmanager.fillreporttofile methods , jrxmlwriter.writereport methods output file never created.

i'm using irepot plugin netbeans. close deadline appreciated.

you need have jasper reports server installed on pc / server , should have access repository through ireport. netbeans none of use in context.

refer this stackoverflow question learning resources jasperreports.

once done reading suggest follow these steps export , save pdf or excel output of report:

  1. save report in jasperserver repository. save data sources, input controls, etc. along report. (learn more links provided in post).

  2. run jasper report through web browser. log on to

    http://localhost:8080/jasperserver 

    and put jasperadmin both username , password.

  3. locate report in repository, run it.

  4. you have export option @ top right corner. click on , menu of options opens. these options contain pdf, excel, csv , many more. click on 1 , save file on disk. job done.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -