Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-2008, 05:59 AM
Member
 
Join Date: May 2008
Posts: 1
sunkaras is on a distinguished road
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() + "\"");
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-18-2008, 10:08 AM
danielstoner's Avatar
Senior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 183
danielstoner is on a distinguished road
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 @ [
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
]
Language is froth on the surface of thought
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to cancel an individual timer in spite of canceling whole timer Java Tip java.util 0 04-04-2008 03:46 PM
Open "Save Page As" Dialog Box Anubha JavaServer Pages (JSP) and JSTL 0 12-12-2007 10:27 PM
How can i save the data Internally(auto save) Rama Koti Reddy AWT / Swing 0 12-10-2007 02:46 PM
Disable BACK and CANCEL buttons in wizard consutes SWT / JFace 2 11-12-2007 10:37 PM
Hwlp with "Open", "Save", "Save as..." trill New To Java 1 07-31-2007 08:53 AM


All times are GMT +3. The time now is 03:08 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org