Hiroshi Kasamatsu wrote:

> Applet-servlet communication does not work on internet.
> I have been making efforts to find clues,but I cannot see the light yet.
> I tried some URL connections,but only to fail.
> The remnant clue I expect is how to select doPost,doGet.
> *******************************************************
> 1.
> Applet side:                           Servlet side:
>                                           doGet(....)
> write object ----------->   read object
> read object <-----------    write object
> *********************************************************
> 2.
> Applet side:                           Servlet side:
>                                           doPost(....)
> write object ----------->   read object
> read object <-----------    write object
> *********************************************************
> I used doPost, or No2,because data is sent.
> But I  also tried No1,but both to fail. One point I worry about is to
> include read and write within a doPost method.
> What does not work applet-servlet communication on internet?
>
> Hiroshi Kasamatsu
> [EMAIL PROTECTED]
>

Hi :-)       from several emails in Servlet-List and my work:

0
    *  if you first write something in Applet,  then in Servlet, service/doPost
will be invoked.
    *  if you first read something in Applet,  then in Servlet, service/doGet
will be invoked.
    *  so you can only override  service in your Servlet  class if it is
possible.

1
   from my work, it can work in Internet, I have test the following:
    *  Servlet container has public IP, its Internet connecting  is
T1/ADSL/ISDN
    *  client of my Servlet class:
        # has public IP, its Internet connecting  is ISDN
        # dialup user from sprint.ca
        # pure-IE5.0 and pure-NN4.7.

2
   I remember there are several emails in Servlet-List about the problem of
   Applet-Servlet Communication in  the following enviroment:
   *  firewall
   *  VPN
   *  Java Plugin 1.2/1.3 ?

   but I am not sure, please check the Servlet Archive - Aug/Sep , 2000 :-)


Bo
Nov.10, 2000

___________________________________________________________________________
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