What are the Java Server page lifecycle methods?

What are the Java Server page lifecycle methods?

+4
source share
1 answer
  • Pre-translated: before the JSP file has been translated and compiled into a servlet.
  • Translation: The JSP file has been translated and compiled as a servlet.
  • Initialized: Before processing requests in the service method, the container calls jspInit () to initialize the servlet. Called only once for a servlet instance.
  • Service: services requested by the client. The container calls this method for each request. Doesn't work: Servlet instance is not working. The container calls the jspDestroy () method.
+4
source

All Articles