Posts

Showing posts with the label web application

Web Applications

Image
The scenario above shows how a browser downloads and renders a simple Web page. Let’s have another look at the HTTP request, so we can see what the server does when it responds to the request: GET /index.html HTTP/1.1 Host: www.example.com Accept-Language: en The browser sends the GET request to the server. As you saw above, the first line of the request specifies the resource (/index.html) that the browser is requesting. When the Web server receives this request, it locates the root folder of the Web site on its hard drive, looks for a file called index.html, and then reads this file from the disk. The Web server sends the contents of the file back to the browser inside the HTTP response. So if the Web site root folder is C:\Website, then the Web server returns the contents of C:\Website\index.html. Likewise, when the browser requests /images/logo.jpg, then the Web server returns C:\Website\images\logo.jpg. This system works very well if a Web site does no...