We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad3e79a commit 73e1526Copy full SHA for 73e1526
1 file changed
Test/servletlifecycle.md
@@ -0,0 +1,12 @@
1
+
2
+
3
+A servlet life cycle can be defined as the entire process from its creation till the destruction. The following are the paths followed by a servlet.
4
5
+The servlet is initialized by calling the init() method.
6
7
+The servlet calls service() method to process a client's request.
8
9
+The servlet is terminated by calling the destroy() method.
10
11
+Finally, servlet is garbage collected by the garbage collector of the JVM.
12
0 commit comments