
Play Store Application link – Advance java – in 15 steps – Apps on Google Play
Learn with our youtube video –
JSP Life cycle-
Stage | Description |
---|---|
Translation | The JSP file is translated into a Java file (also known as a servlet) by the JSP engine. |
Compilation | The generated Java file is then compiled into a class file by the Java compiler. |
Class Loading | The class file is loaded into the JVM by the class loader. |
Instantiation | An instance of the servlet is created by the JSP engine. |
init() | The init() method is called to perform any initialization required by the servlet. |
service() | The service() method is called to process requests and generate a response. |
destroy() | The destroy() method is called to perform any cleanup before the servlet is destroyed. |
