what is java Servlet ?
Ask by Prakash nidhi Verma
Updated 19 Sep 2020
Java Servlets :
A servlet is a Java class which is used to extend the capabilities of servers that host applications accessed by means of a request-response model. Servlets are mainly used to extend the applications hosted by webs servers, however, they can respond to other types of requests too. For such applications, HTTP-specific servlet classes are defined by Java Servlet technology.
- it plays a controller role in MVC approach
- it can accept all protocol requests
- reloading,recompiling and restarting the server