can i call destroy() method in init() method of servlet
Answer Posted / tanuj
Shekar babu is an disgrace to java community should never
blog answers,destroy() is just to inform what is to be done
when the service call is terminated it is like
on_service_destroy() what is to be done.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How do we share data using 'getservletcontext ()?
Explain the difference between get and post method in servlet?
Explain web application directory arrangement?
What is the difference between sendredirect() and forward() in a servlet?
Why the container loads server at the application startup and how?
How to commuincate between an applet and a servlet?
Which are the different ways you can communicate between servlets?
How do we translate jsp?
Is that servlet is pure java object or not?
Differentiate between the print writer and servlet output stream?
What do you mean by cgi?
What mechanisms are used by a Servlet Container to maintain session information?
Should I override the service() method?
Why do we need a constructor in a servlet if we use the init method?
Define the lifecycle for executing a jsp page.