Fernando,

This might be due to the browser finding the applet classes on the
classpath. Try emptying your classpath before starting the browser.

For testing I use Netscape which I start from a DOS box after clearing the
classpath. Works just fine.

Hope this helps,

Rob Griffin
Quest Software

E-mail: [EMAIL PROTECTED]
Web site: http://www.quest.com

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Fernando Orti
> Sent: Thursday, 21 September 2000 4:50
> To: [EMAIL PROTECTED]
> Subject: Communication bettween Applets and Servlets
>
>
> Hello again.
> I have developed an applet that calls a Servlet (passing a parameter) and
> receives data from it.
> My problem is that, if I use Appletviewer it works, but if I see the HTML
> page containing the applet
> I get an error in the Java Console like this:
>
> " com.ms.security.SecurityExceptionEx[Contador.ObtenerPlazas]: cannot
> connect to "localhost" "
>
> My servlet is located in my PC, running ServletRunner and the page that
> calls the applet is in my PC too.
>
> Remember, if I use Appletviewer it works, but from Iexplorer doesn�t.
> I use this URL: http://localhost:8080/servlet/ConsultaProducto
>
> Anyone knows why?
>
> __________________________________________________________________
> _________
> 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