How to pass session values from one servlet container to another servlet container? or how can we get session values of one container in another container?

Answer Posted / animesh kumar

Session Values Can Be passed from one servlet container to
another in FOUR ways :

1. URL rewriting
2. Hidden Form Fields
3. Cookies
4. Using a session Object

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the kinds of http requests?

824


List out difference between a JavaBean from a Servlet?

776


What is a servlet-to-servlet communcation?

900


How can you create a session in servlet?

869


Explain the custom jsp tags and the beans.

822


What is a servlet context?

856


What do you mean by request dispatcher in servlet? Also explain its methods.

886


How to find whether a parameter exists in the request object?

915


How to create war file?

836


What is a servlet context object?

906


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

882


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

3147


How do we translate jsp?

793


How do cookies work in servlets?

821


How servlets are deployed in java?

756