i have this:
String generado="/Users/MyUser/Documents/libros/HelloJasper.pdf";
JasperExportManager.exportReportToPdfFile(jasperPrint, generado);
this keeps the pdf in the specified path, but I want to display it in the browser.I would like to have the option to keep it in the computer after seeing it in the browser . Thank you.