This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • 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: 13074
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