I think it's a security restriction, not an error. Try testing with
appletviewer. If everything is OK, it will work.
Probably you are trying to run the applet on the same machine with the
servlet (localhost:8080), and you get this message above. I don't know
exactly why MS I.E. does that, but if you'll try with the appletviewer or
running the applet on a different machine (but loading it from the same were
the servlet resides !) it will be OK.
Same happened to me...
-----------------------------------------------------
Cristian Saceanu
WebQuote.com Inc.
[EMAIL PROTECTED]
-----Original Message-----
From: RAD InfoTech <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Date: Wednesday, March 22, 2000 9:16 AM
Subject: Applet-Servlet communication
>We are trying to employ servlets to implement a 3-tier architecture. Our
>environment - JDK 1.1.7, jswdk1.0.1, SQLServer 6.5, JDBC-ODBC driver
>
>Bulk of our user presentation uses swing. This means we have to be able to
>gather data in the applets and pass it to servlets.
>
>Our research shows HTTP Tunneling is one way to achieve applet-to-servlet
>communication. Are there other methods?
>
>We put together a test applet and servlet to try out applet-to-servlet
>communication using HTTP Tunneling ie., using URL and URLConnection
>objects.
>
>When we did this. we ran into problems - specifically, when we try to
>getOutputStream
>for the URLConnection, an error message comes up on the Java Console
>saying
>
>com.ms.security.SecurityExceptionEx[SymbolApplet.writeSymbol]: cannot
access
>"localhost":8080
>
>We would really appreciate your helpful response.
>
>TIA
>
>-- Rali Panchanatham
>[EMAIL PROTECTED]
>
>___________________________________________________________________________
>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