When a Browser connects to a Web Server using an appropriate protocol name, IP address and port number, and the Web Server treat this connection to be a request for the 'Default Web Document'. The Web Server then dispatches the 'Default Web Document' to the client who connected.
if the client requires viewing any other web pages then the client can specify the web page name (if known) along with the connection information. Thus the complete connection and web page information will now be specified as
protocol://servername:port number/web page name.
Thus the request for a webpage can be two-fold:
- The webpage itself
- The request for the object referenced by the web page i.e. GIF's, JPG's, Audio file, Video files, executable programs and so on.
if the webpage is not found, an appropriate 'Error Message' is sent as response to the browser request. After sending the web page the web server resets the connection with the browser.
After receiving the web page, the browser will identify the external objects that specified in the web page (if any) and request the server to deliver the external objects.
Such a request will result in a connection being re-established with the web server and a request being sent by the browser. The web server responds to the request being sent by browser.
No comments:
Post a Comment
Please Don't Put Any Kind of Link in Comments, If you do we will delete it