You can't access anything on the client machine with JavaScript
except it's cookies that are from the originating serving. You
need to use the Java System.getProtperties() method for the
specific OS. This is problematic, to be sure, but if you look at
"Java In A Nutshell," it tells you how to do this.
Cheers!
Mark
----- Original Message -----
From: "Joerg Keith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 18, 2001 11:44 AM
Subject: Re: Reading Registry from Java
> I'm pretty sure you can do that with JavasScript. I remember I
saw
> something for Netscape.
>
> Joerg
>
>
>
> Kevin Mukhar
> <[EMAIL PROTECTED] To:
[EMAIL PROTECTED]
> A.NET> cc:
> Sent by: "A mailing Subject:
Re: Reading Registry from Java
> list for discussion
> about Sun
> Microsystem's Java
> Servlet API
> Technology."
> <SERVLET-INTEREST@jav
> a.sun.com>
>
>
> 05/18/2001 11:24 AM
> Please respond to "A
> mailing list for
> discussion about Sun
> Microsystem's Java
> Servlet API
> Technology."
>
>
>
>
>
>
> >From what you wrote, this probably won't work, but...
>
> Can't you do what many sites with pdf files do? The put a
message on the
> page
> saying that before you download the pdf file, you must have a
pdf viewer.
> They
> also provide a link to Adobe so the user can download and
install acrobat.
> Thus, it is the user's responsibility to download the correct
viewer
> software.
> My online brokerage does the same thing. I can get encrypted
trade
> confirmations, but it is my responsibility to download and
install the
> correct
> viewer software.
>
> Sudip Kumar Bhattacharya wrote:
> >
> > Basically the problem is as follows. My site has to
> > send an encrypted file to the user for which the user
> > should have an application, say viewer.exe installed
> > on his machine. Assume my encrypted file is named as
> > something.xyz. Now I have to check out if the XYZ
> > files are associated with any program by checking the
> > registry entries on the user's machine. Next if they
> > are associated, I have to check that it is Viewer.exe
> > with which it is associated. And if Viewer.exe is
> > physically present on the user's machine. If all these
> > are OK, I redirect the user to download the
> > something.xyz file which then automatically gets
> > downloaded and opens up with Viewer.exe. I can't use
> > any plugins or install any com/dll libraries on the
> > user's HDD. That's a silly part of the specifications
> > of the s/w.
>
>
_________________________________________________________________
__________
> 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
>
>
_________________________________________________________________
__________
> 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
>
>
_________________________________________________________________
__________
> 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
>
___________________________________________________________________________
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