Thanks Bo,
               Thanxs for that answer but the Important part of the Question
was not answer & that is How can that Applet Access the Session Object of
the Servlet. This is neccessary since the Applet needs to get the values put
in by the servlet & update it self. Say the Servlet might put in a Vector
containing New Members & the Applet has to update Members List.

Please help me out it is urgent.

Thanks in Advance,
Jiger


>From: Bo Xu <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
>        Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Applet-Servlet
>Date: Mon, 1 May 2000 09:59:25 -0400
>
>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

________________________________________________________________________
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

Reply via email to