File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes  HttpServletResponse.SC_FOUND Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark " HttpServletResponse.SC_FOUND" Watch " HttpServletResponse.SC_FOUND" New topic


V Sharma

Joined: Jun 26, 2004
Posts: 26
Can somebody explain why HttpServletResponse.SC_FOUND replaced MOVED Temporarily ??

Thanks in Advance
Sivasundaram Umapathy
Ranch Hand

Joined: Aug 10, 2002
Posts: 360
The status code 302 stands for the status "Found" in HTTP 1.1 protocol and "moved temporarily" in HTTP 1.0 protocol.

Because servlets 2.4 now allows only HTTP 1.1 and does not support
HTTP 1.0 any more,this change in the constants was required.

Co-Author - SCMAD Exam Guide - ISBN:9780070077881
Author - Java certification success, Part 4: SCEA
Sivasundaram Umapathy
Ranch Hand

Joined: Aug 10, 2002
Posts: 360
Can you please change your display name to comply with Javaranch naming policy?
I agree. Here's the link:
subject: HttpServletResponse.SC_FOUND