aspose file tools*
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
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark " HttpServletResponse.SC_FOUND" Watch " HttpServletResponse.SC_FOUND" New topic
Author

HttpServletResponse.SC_FOUND

V Sharma
Greenhorn

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.


Siva
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?
 
 
subject: HttpServletResponse.SC_FOUND