can i call destroy() method in init() method of servlet

Answer Posted / ravikiran.chd

yes

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you design microservices?

623


What is meant by a servlet?

604


What is the purpose of requestdispatcher interface?

616


Explain load on start-up and its importance?

597


How the JSP file will be executed on the Server side?

642






What are the types of servlets? Explain

672


What do you mean by the servlet chaining?

549


Explain web container.

568


Why are http servlets used in programming?

546


What is servlet and its life cycle?

569


What is the structure of the http response

677


What is the difference between Server and Container?

618


What are the life cycle methods of a servlet?

591


How to make sure a servlet is loaded at the application startup?

557


Explain how does JSP handle run-time exceptions?

580