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


Please Help Members By Posting Answers For Below Questions

What is java servlet session?

536


When servlet object is created?

610


What is servlet invoker?

603


How will two or three servlets interact or communicate with each other?

920


What do you mean by mime type?

561






What are the different methods of session management in servlets?

547


What are the functions of an intercepting filter?

500


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

576


How do you communicate in between Applets and Servlets?

600


How is an application exception handling is done using a servlet?

547


How can you push data from an Applet to a Servlet?

618


Which httpsession object is used to view and manipulate information about a session?

738


What is pure servlet?

706


Explain the difference between a web server and a web container?

525


What are the ways to handle multi-threading in servlets?

606