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
Why is a constructor needed in a servlet even if we use the init method?
What are different Authentication options available in Servlets.
What is the difference between Difference between doGet() and doPost()?
How will two or three servlets interact or communicate with each other?
What are the objects involved when a servlet receives a call from client?
Why the concept of single thread model interface is used?
When servlet is loaded?
What is meant by Servlet? What are the parameters of service method?
Write a simple servlet program to print the contents of html.
Explain the differences between jsp and servlet.
What are session variable in servlets?
What is a servlet context object?
What are Servlets?
Can we override destroy method in servlet?
Differentiate between the get and post method