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

If that’s the response, what’s in the request?

The first thing you’ll find is an HTTP method name. These aren’t Java methods, but the idea is similar. The method name tells the server the kind of request that’s being made, and how the rest of the message will be formatted. The HTTP protocol has several methods, but the ones you’ll use most often are GET and POST.

image with no caption
image with no caption

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