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
What do you mean by httpservlet?
What is a servlet?
How do I use cookies to store session state on the client?
Can you send an authentication error from a servlet?
What is ServletContext object?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
Difference between doget and dopost?
What is a cookie What is the difference between session and cookie
What do you mean by the servlet chaining?
Differentiate between get and post?
How to upload a file to the server using servlet?
Given the request path below, which are context path, servlet path and path info?
Can you create a deadlock condition on a servlet?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
What is servlet and list its types?