Here is what I want to do: I have an ASP site (and an equivalent in PHP) and based on an id that the user enters in an ASP page, I calculate a path, e.g c:\myFolfer\file1.pdf. This path refers to the client's computer, and I need to open a popup and show the user the pdf that he already has stored on his pc. These pdf files are not stored at the server and I cannot change the application so that they are uploaded to the server. I just need to show a file that is stored at the client.
I read the post mentioned before, where it says "So it's a Web application, and the PDF file is already on the desktop machine. This is not the kind of scenario that Web technologies are built to deal with, unfortunately. The only way that occurs to me to do this is to have a signed Java applet on the web page; that signed applet can ask for and be granted (by the user) permission to launch an application with that file. It's a lot of work, it's messy, and users won't like granting the permission."
So, my question is: Is a signed applet the only way to do this? If so, could you give me some directions where to start? Or could I find something free in the web?
Yes, a signed Java applet has permission to read local resources on user's computer, including PDF files.
There are some free (LGPL) versions of PDF reader programs on the web such as JPedal which you can use in your applet.
PM Me If You Want to get Urgent Help on Java Programming