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:
save report in jasperserver repository. save data sources, input controls, etc. along report. (learn more links provided in post).
run jasper report through web browser. log on to
http://localhost:8080/jasperserver
and put
jasperadmin
both username , password.locate report in repository, run it.
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
Post a Comment