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 / mohit rana
It's simple just use session (session object).
HttpSession session = request.getSession();
session.setAttribute(String obj);
and get the above value on other container
session.getAttribute(String obj);
| Is This Answer Correct ? | 16 Yes | 5 No |
Post New Answer View All Answers
Explain Action Servlet?
Describe the phases of servlet lifecycle?
What is the purpose of dispatcherservlet properties?
Define declaration.
how many jsp scripting elements are there and what are those?
Explain the servlet filter.
What's the architecture of a servlet package?
Is dispatcher servlet a singleton?
Is that servlet is pure java object or not?
Define context initialization parameters.
Explain session tracking and its importance?
Tell us something about servletcontext interface.
What is a servlet context object?
What do you mean by session tracking?
What is the difference between servlet and filter?