Home  >  Article  >  Java  >  What is servlet specification

What is servlet specification

青灯夜游
青灯夜游Original
2019-05-10 13:07:085445browse

The servlet specification is a standard that the WEB framework needs to follow when running in a Servlet container. If the WEB framework wants to run in a container that conforms to the Servlet specification, then it must also conform to the Servlet specification.

What is servlet specification

The Web framework generally provides a unified request entry through a Servlet, maps the specified resources to this servlet, and performs the initial configuration of the framework in this servlet. Access the data in the Web page, perform logical processing, and integrate the resulting data with the presentation layer and display it to the user. WEB frameworks want to run in containers that comply with the Servlet specification, and they also need to comply with the Servlet specification.

Injecting a WEB framework into a servlet mainly involves the following parts of the Servlet specification:

● Deployment descriptor

● Mapping request To Servlet

● Servlet life cycle

● Request distribution

The above is the detailed content of What is servlet specification. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:what does element meanNext article:what does element mean