Hi,
I need to find on the client browser(IE or Netscape
Navigator) what is the application associated with a
particular file type. Only then do I redirect the user
to download that file.

For example, suppose the file is of type *.xyz
Now I will let the user go to the link only if the
file *.xyz is associated with a particular program,
say abc.exe. How can I find what program is *.xyz
associated with and what is the location on the disk
of that program file, so that I can check out if
abc.exe is present or not.

I tried to find a way to read registry earlier from
applets but it seems the only way to read registry
from a java applet is to JNI interface it with some
DLL which the client does not want in my case. The
java applet should be able to do the check by itself
and not install anything (dll/activex) on the user's
machine.


Thanks in advance for any help you guys can give me.

Sudip

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to