Hi Jiger,


>...Secondly how to invoke a servlet from an Applet. ...

I think there are at least "two ways:-)" to invoke a servlet from an applet:

1.  with java.net.URL
  ...
  myurl=new URL("http://IPAddr:port/servlet/myservlet");
  ...
  getAppletContext().showDocument(myurl);


2. I guess we can make a "TCP socket" directly to IPAddr:port(of WEB server) ,
then "communicate:-)" to WEB server according to HTTP(for example, HTTP/1.1):
      http://www.w3.org/Protocols/



Bo
May 01,2000




Jiger Patel wrote:

> Hi Friends,
>              Can anybody tell me how to access values from Session object
> put in by the Servlet from an applet to update itself.
> Secondly how to invoke a servlet from an Applet.
>
> Thanks in advance,
> Jiger
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> ___________________________________________________________________________
> 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