The HttpServletResponse class has predefined constants for the status codes:
Status Code Description SC_OK The request was successful. SC_NOT_FOUND The requested resource was not found. SC_UNAUTHORIZED The request was not authorized. SC_MOVED_TEMPORARILY The request has been moved temporarily to a new location.
For a complete list of the status codes, look in the Java Servlet API Specification from Sun. For a complete list of status codes and a description of each code, look in Appendix C of Java Servlet Programming.
|Last updated 12/27/1999 08:55:32 PM|