Re: your letter about signed applet example

Marianne Mueller (mrm@eng.sun.com)
Mon, 17 Mar 1997 21:21:57 -0800

Date: Mon, 17 Mar 1997 21:21:57 -0800
Message-Id: <199703180521.VAA03524@puffin.eng.sun.com>
From: Marianne Mueller <mrm@eng.sun.com>
To: yangy@cs.uri.edu
Subject: Re: your letter about signed applet example

> It seems I can write a
> file to local directory but I did not have foo file in /tmp
> directory.

This sounds contradictory - are you using a Win95 or WinNT system, or
a unix system like Solaris? If you're using a win32 platform, then
the demo at http://java.sun.com/security/signExample/ will create a
file in the directory from which you're running the appletviewer. If
you're running Solaris, the demo creates the file named /tmp/foo.

> Also I still have more error message after runing
> the signed applet. Errornumber are 388, 223,563,396,554,330,481 etc.

You are probably referring to the stack backtrace line numbers?

If you see a stack backtrace message referring to a problem with
findIdentities0, you have run into a JDK 1.1 bug that is fixed in JDK
1.1.1. This is explained on the web page at
http://java.sun.com/security/signExample. JDK 1.1.1 will be out very
shortly although I don't think there is an announced date yet.

> Please reply to me soon because I will give the is kind demo
> by coming Friday!

For your demo, you can show how to load a signed applet by loading the
applet internally on your intranet, not over the internet. Go ahead
and download all the files from ftp.javasoft.com and follow the basic
steps outlined on the example page, and things should work OK for
you.

Marianne