1 | On the web server host machine, servlets run under the same process as the web server. |
2 |
The web server is responsible for creating an instance of the servlet and invoking standard methods from the interface (in a similar way to a browser invoking methods of an applet). There are three main methods:
|
3 |
and two helper methods:
|