A word of caution. If your applet is running in a JRE plugin (eg 1.2), the
cookie carrying session id will not pass back and forth as you expect.
Dave

> -----Original Message-----
> From: Kevin Mukhar [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, May 02, 2000 10:19 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Applet-Servlet
>
> Jiger Patel wrote:
> >
> > 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.
>
> Despite everyone's answer about how to do what you are asking, I believe
> you are
> asking the wrong question. Sure, it's possible for the servlet to
> serialize the
> session object and send it to the applet; and the applet can update the
> session
> and serialize it back to the servlet.
>
> However, the whole point of a servlet is to provide SERVICES to a client,
> and
> the session is properly a part of the server environment. So it seems to
> me that
> a better solution is to have the servlet provide the service for updating
> the
> Members List. The applet sends the New Members to the servlet in a
> request, the
> servlet provides the service.
>
> K Mukhar
>
> __________________________________________________________________________
> _
> 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