Results 1 to 2 of 2
  1. #1
    sunkaras is offline Member
    Join Date
    May 2008
    Rep Power

    Default Handlinh pdf open ,save,cancel in jsp


    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 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.setHeader("Content-Disposition", "attachment;filename=\"" + f.getName() + "\"");

  2. #2
    danielstoner's Avatar
    danielstoner is offline Senior Member
    Join Date
    Apr 2008
    Rep Power


    Not sure what you mean. The PDF file can be handled by any plugin in any browser. How do you want to capture those events?
    Daniel @ []
    Language is froth on the surface of thought

Similar Threads

  1. Hwlp with "Open", "Save", "Save as..."
    By trill in forum New To Java
    Replies: 3
    Last Post: 11-02-2010, 10:26 AM
  2. How can i save the data Internally(auto save)
    By Rama Koti Reddy in forum AWT / Swing
    Replies: 2
    Last Post: 11-01-2010, 09:31 PM
  3. Replies: 0
    Last Post: 04-04-2008, 02:46 PM
  4. Open "Save Page As" Dialog Box
    By Anubha in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 12-12-2007, 10:27 PM
  5. Disable BACK and CANCEL buttons in wizard
    By consutes in forum SWT / JFace
    Replies: 2
    Last Post: 11-12-2007, 10:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts