Rajesh V wrote:
>
>         Im developing an application that uses applet-servlet
> communication. Can i use the HttpSession for such a kind of environment??
> If i can, where are exactly are the Session Objects stored? On the
> browser???
>

 Before asking questions like this on the list, you might
try reading through the servlet documentation at the
Sun servlet homepage:

  <URL:http://java.sun.com/products/servlet/>

 Under "Technical Resources" you will find a links to serveral
introductory tutorials. Study those, and if you still have
questions, post again.

 You might also try searching the archives using the terms
"applet servlet", but until you have a better understanding
of how servlets work, that's probably premature.

 Here's a hint: The actual session data is stored entirely
on the server, and is looked up using a key that is passed
between the client and server using either cookies or
url-rewriting. Since your applet, rather than the browser, is
handling the http communication, it is your responsibility
as applet programmer to handle the cookies or url-rewriting.
It's not hard, but you're going to need to understand more
about http and servlets before the above makes any sense.

 Luckily, there is plenty of good information available, on
line, for free. You just have to put some small amount of
effort into looking for it on your own...


-cks

___________________________________________________________________________
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