The 2.4 Servlet spec adds a new constant. See section 15.1.5 in the June 24th public draft.
Cheers, -bob
Index: src/share/javax/servlet/http/HttpServletResponse.java =================================================================== RCS file: /home/cvspublic/jakarta-servletapi-5/src/share/javax/servlet/http/HttpServletResponse.java,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 HttpServletResponse.java --- src/share/javax/servlet/http/HttpServletResponse.java 16 Jul 2002 16:38:41 -0000 1.1.1.1 +++ src/share/javax/servlet/http/HttpServletResponse.java 31 Jul 2002 14:07:12 -0000 @@ -445,9 +445,24 @@ * Status code (302) indicating that the resource has temporarily * moved to another location, but that future references should * still use the original URI to access the resource. + * + * This definition is being retained for backwards compatibility. + * SC_FOUND is now the preferred definition. */ public static final int SC_MOVED_TEMPORARILY = 302; + + /** + * Status code (302) indicating that the resource reside + * temporarily under a different URI. Since the redirection might + * be altered on occasion, the client should continue to use the + * Request-URI for future requests.(HTTP/1.1) To represent the + * status code (302), it is recommended to use this variable. + * + */ + + public static final int SC_FOUND = 302; + /** * Status code (303) indicating that the response to the request
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>