Senin, 24 Oktober 2016

How to define a life cycle of a java servlet

Life cycle of a servlet contains the following stages: Instantiation Initialization Servicing Destruction   Following figure illustrates the life cycle of a servlet: Instantiation   In this stage the servlet container searches the web.xml file for servlet. If the servlet is found, it will create an object for the corresponding servlet class in the memory. Servlet container can search for the servlet file in the local disk (in server) or in a remote location.   Initialization   After instantiation of the servlet, the servlet container initializes the servlet object. Servlet container invokes the init(ServletConfig) method on the servlet object. This

The post How to define a life cycle of a java servlet appeared first on Coding Security.


How to define a life cycle of a java servlet
read more

Tidak ada komentar:

Posting Komentar