[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-servletapi-dev
Subject: cvs commit: jakarta-servletapi/src/share/javax/servlet/http HttpServletResponse.java
From: jhunter () locus ! apache ! org
Date: 2000-09-22 21:06:41
[Download RAW message or body]
jhunter 00/09/22 14:06:40
Modified: src/share/javax/servlet/http HttpServletResponse.java
Log:
CHANGE TO THE SERVLET API!
Per the Servlet 2.2 errata published at
http://java.sun.com/products/servlet/errata.html
the status code 307 (SC_TEMPORARY_REDIRECT) was
supposed to be added to HttpServletResponse, but
it never was. I just added it.
Please do a double check that all's OK with the
change. This is something that should go into
the 3.2 release if possible.
I'll email Danny/Eduardo to see if they want to
push another servlet.jar as well.
-jh-
Revision Changes Path
1.2 +9 -0 jakarta-servletapi/src/share/javax/servlet/http/HttpServletResponse.java
Index: HttpServletResponse.java
===================================================================
RCS file: /home/cvs/jakarta-servletapi/src/share/javax/servlet/http/HttpServletResponse.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- HttpServletResponse.java 2000/04/26 05:22:30 1.1
+++ HttpServletResponse.java 2000/09/22 21:06:39 1.2
@@ -462,6 +462,15 @@
public static final int SC_USE_PROXY = 305;
+ // Status code 306 is officially "Unused"
+
+ /**
+ * Status code (307) indicating that the requested resource
+ * resides temporarily under a different URI.
+ */
+
+ public static final int SC_TEMPORARY_REDIRECT = 307;
+
/**
* Status code (400) indicating the request sent by the client was
* syntactically incorrect.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic