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
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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 .

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.