What are the methods in HttpSession and their use?
Answer Posted / niranjanravi
getId()
getLastAccessedTime()
getCreationTime()
putValue()
getAttribute()
setAttribute()
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Explain the role of dispatcherservlet and contextloaderlistener.
When Servlet is unloaded?
What are the functions of Servlet container?
What are some disadvantages of storing session state in cookies?
Which event is fired at the time of session creation and destroy?
What is servlet and its types?
How servlets are deployed in java?
What is the difference between sendredirect() and forward() in a servlet?
What is a server side include (ssi)
What is the difference between servlet and filter?
What do you mean by servlet context?
What are the disadvantages of storing session state in cookies?
What do you mean by cgi and what are its drawbacks?
What is cookies in servlet with example?
Is java servlet still used?