aspose file tools
The moose likes JSP and the fly likes how to know if the pdf file is opened. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "how to know if the pdf file is opened. " Watch "how to know if the pdf file is opened. " New topic
Author

how to know if the pdf file is opened.

Latif Laboussa
Greenhorn

Joined: Sep 17, 2002
Posts: 7
Hi,
on my web site I have many pages containing hundrend of url pointing to the pdf documents.
The problem is how I can know that the pdf file was open or downloaded by user ( I used session for this task). I have to point out that I did not integrate in my page any javascript action on those documents.
This point will help me to solve some historical access on the web site.
Thank you
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
This may be a kluge, but you could have the links to the pdfs point to a servlet instead of directly to the pdfs. When the link is clicked you could have the servlet record the fact that the pdf has been accessed and then forward to the pdf.


Matthew Phillips
 
 
subject: how to know if the pdf file is opened.
 
Threads others viewed
file tracking
caching static documents on IBMHttpServer 1.3.28
xsl:fo to PDF
FTP JSP
JSP with unknown MIME TYPE
IntelliJ Java IDE