aspose file tools*
The moose likes Servlets and the fly likes difference between forword() , sendRedirect() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "difference between forword() , sendRedirect()" Watch "difference between forword() , sendRedirect()" New topic
Author

difference between forword() , sendRedirect()

yashendrakar chandrakar
Greenhorn

Joined: Oct 15, 2001
Posts: 15
hello
friends,
what is the difference between forward() method of RequestDespatcher,and sendRedirect() method of HttpResponse?
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

I admit, it's pretty hard when people don't spell words correctly.

But if you search on this forum for "forward redirect" you will find *numerous* other posts on this topic.

The search link is right under the "Post Reply" button at the top of this page.
[This message has been edited by Mike Curwen (edited December 30, 2001).]
krishnamurthy bomma
Greenhorn

Joined: Nov 30, 2001
Posts: 10
In case of forward the request and current response object will forward to the next page.in case of sendRedirect currenct request object will not be available.

Originally posted by yashendrakar chandrakar:
hello
friends,
what is the difference between forward() method of RequestDespatcher,and sendRedirect() method of HttpResponse?

yashendrakar chandrakar
Greenhorn

Joined: Oct 15, 2001
Posts: 15
thanx b_krishna_murthy & Mike.
i got cleared all my doubts through search feature.actually earlier i never noticed this feature.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between forword() , sendRedirect()