Advertise with us

what is java Servlet ?

Posted by  Prakash nidhi Verma
 792  View(s)
Rate this:
  1. what is java Servlet ?

    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