Jump to content

Enclosing/attaching zip, docx … file to pdf report made in java-jasperreport


c.resende

Recommended Posts

Hi guys,

I am developing a report java-jasperreport, and the layout that was given to me, says I need to create a button with a file(when clink in the button a file is downloaded) this file can be basically zip, tar, xml, xsl,,,

I would like to know whether would be possible to enclose a file(inputstrem) to a pdf generated by jasper, so when I click in the button it would be downloaded.

The workaround I think I could do would be making the file available to download through http server, or rest service, but I would like to do it in an offline mode.

Link to comment
Share on other sites

  • Replies 0
  • 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...