O'Reilly logo

Head First Servlets and JSP, 2nd Edition by Bert Bates, Bryan Basham, Kathy Sierra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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!

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required