Answer Posted / manisha
Along with setMaxAge() method the gae of the cookie can be
set in web.xml
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is java servlet session?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
Who is responsible to create the object of servlet?
What do you mean by deployment descriptor?
Write a program to show the functionality of doget and dopost method?
Which is better jsp or servlet?
What is a web container and what is its responsibility?
What do you mean by default initialization in java servlet?
How to generate the server side programming and the advantages of it over the other languages?
How to make sure a servlet is loaded at the application startup?
What is the difference in between the httpservlet and generic servlet?
What is meant by Servlet? What are the parameters of service method?
Explain url encoding in servlet?
What is the use of httpservletresponsewrapper?
Can we use threads in Servlets?