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
Can you refresh servlet in client and server-side automatically?
How do you define a servlet?
What is httpservlet and how it is different from genericservlet?
Name the packages that work with servlet?
When servlet is loaded?
Explain the steps involved in placing a servlet within a package?
What do you mean by singlethreadmodel interface?
What are the features added in Servlet 2.5?
What do you mean by cgi?
How can the session in servlet can be destroyed?
What are the drawbacks of cgi?
What is servlet used for?
What is a server side include (ssi)
What is war file?
What is servlet looping or chaining?