How to set a cookie that is persisted only for the duration
fo the clients session?
Answer / janet
if u donot explicitly set a life time for the cookie using
cookie.setMaxAge(),the cookie is automatically deleted when
the user closes his browser.
Is This Answer Correct ? | 2 Yes | 0 No |
What is preinitialization of a servlet?
What are the types of ServletEngines?
What methods do we use in Servlet to Applet communication?
What is the difference between portlet and servlet?
Explain the methods of request dispatcher in servlet?
Tell us something about servletcontext interface.
What must be implemented by all servlets?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
we cant Override Jsp Service method?Why?
4 Answers Infrasoft, Mind Tree,
What are the life cycle methods of the servlet?
What exactly is a servlet?
Given the request path below, which are context path, servlet path and path info?