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
How we can call a jsp from the servlet?
What is cgi and what are its drawbacks?
What is servlet container?
Which protocol will be used by browser and servlet to communicate
What is http servlet?
Why the container loads server at the application startup and how?
Which HTTP method is non-idempotent?
Explain servlet life cycle?
What's the difference between servlets and applets?
Why session tracking is needed?
What is the inter-servlet communication?
Can you refresh servlet in client and server-side automatically?
What is servlet and list its types?
How forward () method is different from send redirect () method?
Explain the steps involved in placing a servlet within a package?