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


Please Help Members By Posting Answers For Below Questions

What are the difference between RMI and Servlets?

1047


Which is better jsp or servlet?

553


What are common tasks performed by Servlet Container?

763


Write the code to get the server information in servlet.

564


What is preinitialization of a servlet?

578






explain the advantages of servlet life cycle?

553


What is Client-Server Computing?

1892


What is the use of java servlet api?

598


What’s the difference between forward() and sendredirect() methods?

572


Which are the different ways you can communicate between servlets?

520


What are the types of Session Tracking ?

642


List out the difference between ServletConfig and ServletContext?

598


How can we create deadlock situation in servlet?

835


What exactly is a servlet?

537


What is difference between GenericServlet and HttpServlet?

565