URL. Whatever you do, don’t pronounce it “Earl”.

When you get to the U’s in the acronym dictionary there’s a traffic jam... URI, URL, URN, where does it end? For now, we’re going to focus on the URLs, or Uniform Resource Locators, that you know and love. Every resource on the web has its own unique address, in the URL format.

image with no caption

Note

Not shown:

Optional Query String: Remember, if this was a GET request, the extra info (parameters) would be appended to the end of this URL, starting with a question mark “?”, and with each parameter (name/value pair) separated by an ampersand “&”.

Well-known TCP port numbers for common server applications

image with no caption

Using one server app per port, a server can have up to 65536 different server apps running.

The TCP port numbers from 0 to 1023 are reserved for well-known services (including the Big One we care about—port 80). Don’t use these ports for your own custom server programs!

Get Head First Servlets and JSP, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.