. Meng,

                . you can connect to whatever number of servlets but...they
must be in the machine from where you're downloading the applet....this is a
Security restriction that browsers have...what you could do is to have every
applet referenced to every server/servlet...

                . hope this helps,

                . javier.

> -----Original Message-----
> From: Yu, Meng
> Sent: Sunday, February 13, 2000 4:03 PM
> To:   [EMAIL PROTECTED]
> Subject:      Can one applet connect to 2 servlets on 2 different machine?
>
> > Hi,
> >
> > This has bothered me quite a while. I can't find relevant document. Your
> > help is highly appreciated.
> >
> > I have an applet running on the same machine as servlet. I also need to
> > access another servlet on another machine from this applet. I use:
> >       URL listURL = new URL(servletbase +  queryString);
> >       URLConnection listConn = listURL.openConnection();
> >
> > and I get exception like
> >       com.ms.security.SecurityExceptionEX ....         cannot cannnect
> to
> > "......."
> >
> > Do you happen to know how to resolve this? Or applets must stay on same
> > machine with servlets?
> >
> > Thank your,
> >
> > -Meng
> >
>
> __________________________________________________________________________
> _
> 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