MY mENU


Saturday 17 March 2012

Important response codes in Servlets

Frequent http response codes:

100-199: warnings or Information

200-299: success
300-399: Redirection
400-499: Incomplete processing
500-599: server error
200-success & document of response follows as web page response.
201-success but no response body.
301- Given request is moved to other web resources or websites permanently.
302: Given request to web-resource is forwarded or moved to other Web-resources of website temporarity.

Note: The http response status code 300-399 comes if given request is forwarded to other web sites from the original & actually requested web-sites.

401: The user who has given request if not authorised web-site / web-resource [error].
404: Requested web-resource is not found
500: Problem in web-xml code

No comments:

Post a Comment