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
What is meant by a web application
Explain the features are in servlet 3?
How the servlet is loaded?
What is servlet instance?
What is the difference between a generic servlet and http servlet?
Explain the lifecycle of a servlet?
What is the use of servlet context?
What is the functionality of actionservlet and requestprocessor?
What do you mean by session tracking?
What is MIME Type?
When should you prefer to use doget() over dopost()?
List out difference between a JavaBean from a Servlet?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
Explain in brief the directory structure of a web application?
Why don't we write a constructor in a servlet?