This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes sendRedirect and returnRequest Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "sendRedirect and returnRequest" Watch "sendRedirect and returnRequest" New topic
Author

sendRedirect and returnRequest

Dale DeMott
Ranch Hand

Joined: Nov 02, 2000
Posts: 515
What are both of these used for???
What are the differences???
-Dale


By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
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

Joined: Nov 02, 2000
Posts: 515
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sendRedirect and returnRequest
 
Similar Threads
I Always Wanna Post Java Related Topics
Software Life
Unregistered?
World Market
WA #2 ..... word association