Java Reference
In-Depth Information
The “typical webpage” for this example is at the following URL:
http://www.httprecipes.com/1/1/typical.php
The actual contents of the “typical webpage” are shown in Figure 1.3.
Figure 1.3: A Typical Webpage
As can be seen in Figure 1.3, four pictures are displayed in the middle of the page. There
are actually a total of five pictures, if the Heaton Research logo is counted. When a web page
such as this is opened, the HTML, as well as all images must be downloaded.
The first HTTP request is always for the URL that was typed into the browser. This URL
is usually an HTML page. The HTML page is a single HTTP request. The text of this HTML
file is all that will be transferred on this HTTP request.
It is important to note that only one physical file is transferred per HTTP request. The
HTML page will be downloaded and examined for other embedded files that are required to
display the web page. Listing 1.1 shows the HTML of the “typical web page”.
Search WWH ::




Custom Search