Posts

Showing posts from January, 2023

What is Servlet in Java

Image
Introduction of Servlet Servlet in java is a generic server extension. It is a kind of java class which can be loaded dynamically to expand the functionality of a Server. Servlets are used with web servers and run inside a JVM on the server. Unlike applets, your browser need not have required support for java. It is like CGI (Common Gateway Interface) can handle request and response from or to the web server. Servlets are portable and platform independent. Servlets are the component of the JEE framework used for web development. They are basically Java programs that run inside the container. They are responsible for accepting a request, processing it, and sending a response back. Servlet need to be registered first in web configuration file so that a Servlet C ontainer instantiates a servlet by calling its  init()  method  at the start-up. Once its initialization is complete, the servlet is ready to accept incoming requests. Subsequently, the container directs t...

If you have any query or suggestions, Please feel free to write us

Name

Email *

Message *