Describe the basics of Servlets.- Servlets are java classes which run on a web server.
- The results produced by the servlet are viewed on a remote web server.
- Servlet is a server side component in web applications.
- The servlet performs the request / response paradigm using the web container.
- Servlets is the best alternative for CGI.
- HTTP servlets is advanced and mostly used on current web applications.
- These servlets responds to HTTP protocol requests that are being sent from a web server and returns web pages.
- Servlets container creates only one instance for each servlets.
- The requests are handled by a separate thread.
- Each thread will invoke doGet or doPost which in turn invokes the service() method where the actual servlet’s operations are authored.
|