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 the use of servlet wrapper classes?
Which method is called when reference variable is passed in system.net?
What are the types of servlet?
Difference between get and post in java servlets?
How can we achieve transport layer security for our web application?
How can you use a servlet to generate a plain text instead of html?
Which event is fired at the time of session creation and destroy?
What are the phases of a servlet life cycle?
What is http servlet? Explain with the help of an example.
What are the advantages of servlets over traditional cgi?
What is the process for chaining servlet?
What is cookie in servlet?
How do cookies work in servlets?
How do we go with database connection and log4j integration in servlet?
How to get the current httpsession object?