How can I share objects across different sessions?
Answer Posted / aman kumar
with the help of session.setAttribute()and session.getAtribute()we can share Httpsession object across different servlet and jsp.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How to get the server information in a servlet?
When jsessionid is created?
Servlet is pure java object or not?
What are the annotations used in servlet 3?
Whether we can get deadlock situation in servlets?
What is a generic servlet?
What are the common methods that are included in the http servlet class?
What's the use of servletcontext?
Explain web container.
Can you call a jsp from the servlet?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
Can we fetch the attributes related to a servlet on a different servlet?
Explain how to improve Servlet Performance?
How many servlet objects are created?
Write all the phases defined in servlet life cycle?