How many ways to remove the session object in the container
Answer Posted / ashwin kumar j
session.invalidate() used to kill the session object,this
method is usually called, for ex: when we logoff from an
application.
and
session.removeAttribute()
| Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
Should I override the service() method?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
Describe some assignments that are executed by servlet container?
How can we implement a jsp page?
What is SingleThreadModel interface?
What are all the ways for session tracking?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
How do you create a cookie using servlet?
Explain Action Servlet?
What do you mean by chaining in servlet?
Differentiate between the get and post method
What do you mean by web applications? Explain web application directory arrangement?
How can we refresh automatically when new data has entered the database?
Explain web container.
What is the procedure for initializing a servlet?