flex - Save file opened with navigateToURL -


i'm using navigatetourl open pdf file generated jasper , it's working well. asked send email pdf file attachment. using velocity send emails in our application but, send attachments, have have file saved somewhere , have info of path , filename. possible save file opened navigatetourl?

i'm using flex sdk 4.9.1.

thank you.

are using jasperexportmanager.exportreporttopdfstream() method show pdf?

if so, try use jasperexportmanager.exportreporttopdffile().
can save pdf @ server.

jasperprint jasperprint = jasperfillmanager.fillreport(jasper, parammap, con); // streaming pdf now? response.setcontenttype("application/pdf"); jasperexportmanager.exportreporttopdfstream(jasperprint, response.getoutputstream());  // save pdf somewhere. jasperexportmanager.exportreporttopdffile(jasperprint, path); 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -