• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HttpServletResponse.SC_FOUND

 
V Sharma
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can somebody explain why HttpServletResponse.SC_FOUND replaced MOVED Temporarily ??

Thanks in Advance
 
Sivasundaram Umapathy
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Sivasundaram Umapathy
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please change your display name to comply with Javaranch naming policy?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic