Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between forword() , sendRedirect()

 
yashendrakar chandrakar
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
friends,
what is the difference between forward() method of RequestDespatcher,and sendRedirect() method of HttpResponse?
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanx b_krishna_murthy & Mike.
i got cleared all my doubts through search feature.actually earlier i never noticed this feature.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic