|
Handlinh pdf open ,save,cancel in jsp
Hi
I am looking for a code to handle the pdf popup window save,open,cancel events.the popup window is open but i need to capture those events to update the value in the data base wheather the file is new or downloaded.so can anybody help me out.when i select open or save buttons the pdf file will be download but at the same time based on the button ,i want to update the pdf status in database.
response.setContentType("application/pdf");
response.setContentLength((int)f.length());
response.setHeader("Content-Disposition", "attachment;filename=\"" + f.getName() + "\"");
|