kavita try using the internet explorer or fiddle around with the security
manager of the netscape.

***************************************************
Change is Inevident everywhere
It stops  u from Ageing
***************************************************
----- Original Message -----
From: "kavitha ramasamy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 29, 2000 8:00 PM
Subject: Applet to servlet Security Exception


> Hello,
>
>      I am calling a servlet from my applet. It is working fine in
> appletviewer. But when I do the same in browser i am getting security
> Exception as
>
> netscape.security.AppletSecurityException: security.Couldn't connect to
> '127.0.0.1' with origin from 'local-classpath-classes'.
>
>   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.checkConnect(Compiled Code)
>
>   at java.lang.SecurityManager.checkConnect(Compiled Code)
>
>   at java.net.Socket.<init>(Compiled Code)
>
> * at java.net.Socket.<init>(Compiled Code)
>
>   at CHttpPost.doSocketPost(Compiled Code)
>
>   at Applet1.btnPost_MouseClicked(Compiled Code)
>
>   at Applet1$SymMouse.mouseClicked(Compiled Code)
>
>   at java.awt.Component.processMouseEvent(Compiled Code)
>
>   at java.awt.Component.processEvent(Compiled Code)
>
>   at java.awt.Button.processEvent(Compiled Code)
>
>   at java.awt.Component.dispatchEventImpl(Compiled Code)
>
>   at java.awt.Component.dispatchEvent(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).
>
> How to overcome this?
> Thanks,
> Kavitha
>
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.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

___________________________________________________________________________
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