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

Can filter be used as request or response?

544


What is servlet collaboration?

663


What are the types of an http request?

585


List some life cycle methods of a servlet.

592


What's the use of servletcontext?

683






A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

612


What exactly are the functions of servlet?

601


Explain url encoding?

519


Describe in brief RequestDespatcher?

596


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

668


What is java servlet session?

529


What are different methods of session management in servlets?

780


Elucidate servlet attributes and its scope?

569


What is the servletconfig object?

534


What is the life cycle of a servlet?

791