Home >Java >javaTutorial >What class does a servlet belong to?

What class does a servlet belong to?

little bottle
little bottleOriginal
2019-05-13 16:34:475169browse

The concepts you need to understand in Java learning must include Servlet. Servlet (Server Applet) is the abbreviation of Java Servlet. It is called a small service program or service connector. It is a server-side program written in Java. It has the characteristics of being independent of platform and protocol. Its main function is to browse and generate data interactively and generate Dynamic web content.

What class does a servlet belong to?

Servlet is the abbreviation of Java Servlet, which is called a small service program or service connector. It is a server-side program written in Java and has the characteristics of being independent of platform and protocol. The function is to browse and generate data interactively and generate dynamic Web content.

Servlet is a tool class in the Java programming language. It is used to extend the performance of the server. The server hosts applications that can be accessed through the "request-response" programming model. .

Initially there was no jsp, only servlet, which means that the initial development process was .java->.class. Later, because writing html code in servlet was too cumbersome, the jsp type was added. The main functions of servlets in JavaWeb are to carry network connections and business logic processing, such as conversion of some encoding formats, login interception, etc.

Although servlets can respond to any type of request, they are usually only used to extend Web server applications. Java Servlet technology defines an HTTP-specific servlet class for these applications.

The above is the detailed content of What class does a servlet belong to?. 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 is a servlet file?Next article:What is a servlet file?