What is Servlet?
A Servlet is a Java programming language class used to extend the capabilities of servers that host applications accessed via a request-response programming model.
Although servlets can respond to any type of request, they are commonly used to extend the applications hosted by Web servers. For such applications, Java Servlet technology defines HTTP-specific servlet classes.
The javax.servlet and javax.http.servlet are two packages which provided interface and classes for writing servlets. All the servlet must implement servlet interface ,which defines life cycle method
Read More →