Working of WEB

We will have a client on the left side and server on the right side. A user wants to see a website, like www.javatpoint.com/java-tutorial. The user types the URL of a page using a client program, usually a browser. But first, the computer of the user and the web server need to be physically connected. That is the job of the internet. Using the TCP/IP protocol, it establishes a connection using a combination of cable media or wireless media and does all the necessary work to prepare the environment for the two computers to talk via the HTTP protocol.

When the connection establishes, the client sends a request called the HTTP message, but because the HTTP is a connectionless protocol, so the client disconnects from the server and waits for the response.

On the other side, the server processes the request, prepare the response, establish the connection again, and send it back the response and again in the form of an HTTP message to the client. Then the two computers completely disconnect.

Working of WEB
Next TopicHTTP Response




Latest Courses