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


Please Help Members By Posting Answers For Below Questions

How do cookies work in servlets?

583


what is multiple server?

1764


Why HttpServlet class is declared abstract?

652


Describe some assignments that are executed by servlet container?

589


List out difference between a JavaBean from a Servlet?

568






What are the different methods involved in generic servlet?

559


Explain servlet.

573


How the JSP file will be executed on the Server side?

646


Should I override the service() method?

670


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

553


What is the GenericServlet class?

604


What is servlet api used for conneting database?

702


What is the use of servlet context?

537


Describe in brief RequestDespatcher?

596


Where do you define dispatcherservlet?

554