what is java Servlet ?

Last updated:9/19/2020 9:48:23 PM

1 Answers

Prakash nidhi Verma
Prakash nidhi Verma

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

Answer