In the method area and the JVM heap, is shared by the threads of
The program counter is a relatively small memory area, the bytecode for instructing the execution of the current thread to be executed the first few lines, a thread spacer of
doPost / doGet is implemented in the javax.servlet.http.HttpServlet
service () method is defined in the interface javax.servlet.Servlet
the servlet lifecycle divided into five phases: 1. Load: container by using the class loader loads the file corresponding servlet servlet classes 2. Create: to create a servlet object by calling the constructor servlet 3. Initialization: calling the init method initializes 4. handle customer requests: whenever there is a client request, the container creates a thread to handle the request 5, unloading: call destory way to get yourself to release servlet resources occupied by