O'Reilly logo

Struts Kick Start by Kevin Bedell, James Turner

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

Conclusions

This chapter covered the fundamentals of the HTTP protocol and presented the concept that Struts applications (like all JSP and Web applications) are governed by the underlying HTTP protocol and its request/response cycle.

HTTP requests are made up of a request for a resource (for example, GET /index.html) and other control information in the form of HTTP request headers. After a server receives an HTTP request, the server processes it and sends a HTTP response. HTTP responses are made up of a response code (for example, HTTP/1.1 200 OK), control information in the form of HTTP response headers, and the actual resource requested.

Not all HTTP requests result in a resource being returned; the HTTP response code will indicate what ...

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