i think u need to sign ur applet and give socket, net permissions.
rgds.,
komal
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Vaishnavi Mannar
> Sent: Monday, May 17, 1999 8:15 PM
> To: [EMAIL PROTECTED]
> Subject: SecurityException error while trying to get Applet - Servlet
> Communication
>
>
> Hi,
>
>
> I am working on an example Chat Server in Ch 10, in the bookJava Servlet
> Programming, by Jason Hunter.
>
> The example is Chat Server application and demonstrates Applet - Servlet
> Communication. When i run the servlet
> it displays an HTML page, and i have a choice to choose http or Socket or
> RMI to be my mode of communication.
> When i choose "http" as my choice, the applet corresponding to
> this choice
> 'HttpChatApplet' should be invoked.
>
> But i get the error exception:
> com.ms.security.SecurityExceptionEx[HttpChatApplet.init] in Internet
> Explorer
> and applet HttpChatApplet class HttpChatApplet could not be loaded in
> Netscape.
> (When i load the HttpChatApplet alone it works fine.)
>
> I am using JavaWebServer1.1.3. I have my Applet source and class
> file under
> public_html and the servlets under the servlets directory.
>
> Please advise how to deal with the SecurityException error. How can i
> figure out when a problem occurs -- if it is in the Applet or the Servlet
> or the JavaWebServer. Is there any debugging techniques / tools
> for servlets
> ?
>
>
> Thanks in advance,
> Vaishnavi
>
> __________________________________________________________________
> _________
> 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