can i call destroy() method in init() method of servlet
Answer Posted / yathirajulu
yes, we call destroy() in init(),because both are called once.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Define context initialization parameters.
What's the advantages using servlets than using cgi?
What are the servlet events?
What is the directory structure of web application?
Why doesn’t a servlet include main()?
What is difference between server and servlet?
How native code can be used in a servlet?
What is servlet container?
What is the difference between Difference between doGet() and doPost()?
What is the difference in between the httpservlet and generic servlet?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
How can you push data from an Applet to a Servlet?
What is the difference between using getSession(true) and getSession(false) methods?
When servlet object is created?
how many jsp scripting elements are there and what are those?