FAQ
History
Previous Home Next Search
Feedback
Divider

HTTP Responses

An HTTP response contains a result code, header fields, and a body.

The HTTP protocol expects the result code and all header fields to be returned before any body content.

Some commonly used status codes include:

  • 404 - indicates that the requested resource is not available.
  • 401 - indicates that the request requires HTTP authentication.
  • 500 - indicates an error inside the HTTP server which prevented it from fulfilling the request.
  • 503 - indicates that the HTTP server is temporarily overloaded, and unable to handle the request.
Divider
FAQ
History
Previous Home Next Search
Feedback
Divider

All of the material in The J2EE Tutorial for the Sun ONE Platform is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.

AltStyle によって変換されたページ (->オリジナル) /