What are the methods in HttpSession and their use?
Answer Posted / amit tomar
getAttributesNames()
getId()
getLastAccessedTime()
getCreationTime()
putValue()
getAttribute()
setAttribute()
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Why do we have servlet wrapper classes?
Who is responsible to create the object of servlet?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
What is called servlet mapping?
What must be implemented by all servlets?
What is getservletcontext?
What is the inter-servlet communication?
How are filters?
How will two or three servlets interact or communicate with each other?
Is servlet a server side scripting language?
Explain the servlet context.
What are the different methods involved in generic servlet?
What is the procedure for initializing a servlet?
How httpservlet is different from the genericservlet?
How the JSP file will be executed on the Server side?