# Applet-Servlet Commu.problem

rajesh reddy (vrr_1975@excite.com)
Tue, 01 Jun 1999 00:19:06 PDT

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: prasith govin: "signing applets"
- Previous message: Augustine Ikeji: "Applet Security Exception"

    From: "rajesh reddy" <vrr_1975@excite.com>

    To: java-security@web2.javasoft.com

    Subject: Applet-Servlet Commu.problem

    Message-Id: <928221546.16337.429@excite.com>

    Date: Tue, 01 Jun 1999 00:19:06 PDT

This is an exception that i have got when iam trying to contact
servlet(DayTimeServlet) through Applet(DayTimeApplet) in
NetscapeNavigator.HttpMessage is just a class file which contacts Servlet on
behalf of Applet.

i have loaded ".class" file of DayTimeApplet in 'Public_Html' of java
web server and ".class" of servlet in servlets of same webserver.

netscape.security.AppletSecurityException: security.class from local disk
trying to access url: http://172.17.16.110:8080/servlet/DayTimeServlet
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at java.lang.SecurityException.<init>(Compiled Code)
at netscape.security.AppletSecurityException.<init>(Compiled Code)
at netscape.security.AppletSecurityException.<init>(Compiled Code)
at netscape.security.AppletSecurity.checkURLConnect(Compiled Code)
at java.lang.SecurityManager.checkURLConnect(Compiled Code)
at netscape.net.URLConnection.connect(Compiled Code)
at netscape.net.URLConnection.getInputStream(Compiled Code)
at HttpMessage.sendGetMessage(Compiled Code)
* at HttpMessage.sendGetMessage(Compiled Code)
at DayTimeApplet.getDateUsingHttpText(Compiled Code)
at DayTimeApplet.refresh(Compiled Code)
at DayTimeApplet.start(Compiled Code)
at netscape.applet.DerivedAppletFrame$StartAppletEvent.dispatch(Compiled
Code)
at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
at
netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
Code)

Please show me a way to overcome this exception and mail me back
immediately.
thank u.
rajesh

_______________________________________________________
Get your free, private email at http://mail.excite.com/

- Next message: prasith govin: "signing applets"
- Previous message: Augustine Ikeji: "Applet Security Exception"