Skip to Content
Head First Servlets and JSP, 2nd Edition
book

Head First Servlets and JSP, 2nd Edition

by Bryan Basham, Kathy Sierra, Bert Bates
March 2008
Intermediate to advanced
911 pages
20h 31m
English
O'Reilly Media, Inc.
Content preview from Head First Servlets and JSP, 2nd Edition

What does your web server do?

A web server takes a client request and gives something back to the client.

A web browser lets a user request a resource. The web server gets the request, finds the resource, and returns something to the user. Sometimes that resource is an HTML page. Sometimes it’s a picture. Or a sound file. Or even a PDF document. Doesn’t matter—the client asks for the thing (resource) and the server sends it back.

Unless the thing isn’t there. Or at least it’s not where the server is expecting it to be. You’re of course quite familiar with the “404 Not Found” error—the response you get when the server can’t find what it thinks you asked for.

When we say “server”, we mean either the physical machine (hardware) or the web server application (software). Throughout the book, if the difference between server hardware and software matters, we’ll explicitly say which one (hardware or software) we’re talking about.

image with no caption
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Head First Java, 2nd Edition

Head First Java, 2nd Edition

Kathy Sierra, Bert Bates
Head First Java, 3rd Edition

Head First Java, 3rd Edition

Kathy Sierra, Bert Bates, Trisha Gee
Learning Java, 6th Edition

Learning Java, 6th Edition

Marc Loy, Patrick Niemeyer, Daniel Leuck

Publisher Resources

ISBN: 9780596516680Errata PageSupplemental Content