How can I change a JasperReport's actual name?

前端 未结 1 450
故里飘歌
故里飘歌 2021-01-27 19:42

I am using Java to generate a PDF of a compiled jasper report. The pre-compiled report has the name \'statsReport\'. The report generates properly. The problem is when comes the

相关标签:
1条回答
  • 2021-01-27 19:54

    Set a HTTP Header in your servlet response like:

    Content-Disposition: filename=statsReport_20110718.pdf
    
    0 讨论(0)
提交回复
热议问题