Web vernacular one of the three components Servlet

 

Servlet children's shoes to a lot of learning here, I heard so many professional terms to explain the Servlet, I believe are very Mongolia circle, where I will not pull the big concept Servlet with you, to begin with we look into the role of the Servlet

 

MVC believe this concept before you learn Servlet already learned, this is you learn JavaWeb must understand this concept forward. So our role is to achieve the separation of Servlet business layer and the presentation layer. Servlet effect processing request is sent by the client, the server will process the received request to the Servlet.

Each Servlet must implement the interface javax.servlet.Servlet, broadly refers to any Servlet is a Java class that implements the interface javax.servlet.Servlet are called Servlet.

 

We see many of the concepts are mentioned on Servlet: Servlet is a set of interfaces, or specification. So what exactly this specification defines what it?

Http request to a corresponding one of HttpServletRequest, in response to a corresponding one of HttpServletResponse, the request must be processed in a Servlet.

 

Guess you like

Origin www.cnblogs.com/waibizi/p/11576033.html