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

How can the referrer and the target urls be used in servlet?

742


Can you use javascript in servlets?

827


How to get the server information in a servlet?

907


Explain servlet.

796


Is tomcat a servlet container?

790


Define servlet mapping?

914


Explain the difference between a web server and a web container?

742


Explain the servlet context.

816


What are the steps that are required to handle the multi-threading?

870


What are the different ways we can maintain state between requests?

796


The code in a finally clause will never fail to execute, right?

818


How is the get () method different from the post() method?

742


What are the life cycle methods of a servlet?

790


What is servlet in tomcat?

794


Explain the difference between generic servlet and http servlet?

745