• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sendRedirect and returnRequest

 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are both of these used for???
What are the differences???
-Dale
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The sendRedirect method in HttpServletResponse immediately sends a "redirect" to the browser pointing at another URL.
I don't find a "returnRequest" method anywhere in the servlet API - where did you see it?
Bill
 
Dale DeMott
Ranch Hand
Posts: 515
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like the returnRequest method has been deprecated. I'm maintaining code that already exists. This is why I'm not to familiar with this code.
-Dale
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic