HTTP Status

Hi,

I was reading as below


 100-199
 codes in the 100s are informational, indicating the client should respond with some other action.
  200-299
 values in the 200s signify that request was successful.
  300-399
 values in the 300s are used for files that have moved and usually include a Location header indicating the new address.
  400-499
 indicates error by client.
 500-599
 indicates error by server
200(Ok)
  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.
302(Found)  
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
LVL 7
gudii9Asked:
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.

MisbahCommented:
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 .

http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
0

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
0
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.