Servlet

What is servlet?

Why servlet used?

Servlet....... a small java program that runs on server-side and generates dynamic web pages.
so we can say that Servlet is a java enable technologies that are used in Web-development.
In java, Servlet is used to develop web-application.
To run a servlet program, a web server is also required.

Servlet receives a request from the client-side and responds to request using web clients.

So what exactly servlet is?

Servlet is an Application programming interface or API which is used to create servlet.
Servlet API contains several interfaces and classes which help to develop a servlet.
To create a servlet we have to implement a servlet interface in our class.

No comments:

Post a Comment