Servlet implementation of HTTP communication foundation
•
Java
1. The client sends an HTTP message
HTTP protocol is based on TCP / UDP protocol and encapsulates the details of socket communication (TCP / UDP needs to be used), that is, the client sends HTTP messages to the servlet through the HTTP client that implements TCP or UDP socket communication.
Image: temporarily not supported
2. Servlet processing message
The httpservlet starts the socketserver
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码