When you say "workaround" do mean using something like described in
http://www.kfki.hu/~cspeter/jvm-bugs/ns6jsace.html . Can you explain me what
this prevents? advantages?



-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Mike
Marchywka
Sent: segunda-feira, 24 de Setembro de 2001 14:15
To: [EMAIL PROTECTED]
Subject: Re: java.net.ConnectException in applet connection to servlet


In general,  I don't think it is good practice to do anything from
a JavaScript or event thread except set a flag. Any comments?
You simply don't have a lot of control over these unknown threads
or what they are doing or locking. It is probably not very safe to
have them do anything that could block or take a while to execute.
Even if you didn't have this problem, you may want to use a workaround
anyway...

Political Justification:
I think this is servlet related since a lot of servlets do communicate
with applets and there may be issues here that impact servlet design.

-----Original Message-----
From: Hugo Malheiro [mailto:[EMAIL PROTECTED]]
Sent: 2001,September.24.Monday 9:01 AM
To: [EMAIL PROTECTED]
Subject: Re: java.net.ConnectException in applet connection to servlet


This problem you describe can also occurs in Internet Explorer? In
localhost
i'm using IE 5 and in the other machine i'm using IE6?

May this be the problem? Have you experience this problem in IE? And i'm
not
calling the applet from javascript....

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Marco
Trevisan
Sent: segunda-feira, 24 de Setembro de 2001 13:31
To: [EMAIL PROTECTED]
Subject: Re: java.net.ConnectException in applet connection to servlet


>From previous posts I haven't determined if you're using the same
browser on the two machines.
In case you're using N6 (I've used only 6.1 preview), you may have
encountered a problem described in
http://www.kfki.hu/~cspeter/jvm-bugs/ns6jsace.html

Notice that this new security feature applies only if you call applet's
methods from JavaScript, maybe even user interaction like
pressing a button on an applet shows this behaviour ...

Marco

----- Original Message -----
From: "Hugo Malheiro"

>
> This only occurs when i run my application from another machine, in
> localhost it communicates perfectly
>
>

________________________________________________________________________
___
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

___________________________________________________________________________
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