• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 340
  • Last Modified:

HTTP Status


I was reading as below

 codes in the 100s are informational, indicating the client should respond with some other action.
 values in the 200s signify that request was successful.
 values in the 300s are used for files that have moved and usually include a Location header indicating the new address.
 indicates error by client.
 indicates error by server
  A value of 200(SC_OK) means that everything is fine; the document follows for GET and POST request. This status is the default status for servlet.
The value is similar to 301, except that in principal the URL given by Location header should be interpreted as temporary replacement not permanent one.
  404(Not Found)
  The infamous 404(SC_NOT_FOND) status tells the client that no resource should be found at that address. This value is the standard “no such page” response.

Are HTTP Status related to HTTP Resonse Header or HTTP Request Header?

When do we need to use HTTP Status.

Do i see it everytime i run a servlet or occasionally when the web contained failed to send the servlet response etc?

Please advise.

Any links resources ideas highly appreciated. Thanks in advance
1 Solution
they are related to HTTP Response coming from the server,
the server need to implement this, client will get these status to know what went wrong.
so sometimes the error is related to the server and sometimes the client sent wrong request .

gudii9Author Commented:
>>client will get these status to know what went wrong.

does the client will get these status only when something went wrong. If something went right does client notified with HTTP Status at all.

Please advise
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now