Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

Difference between sendRedirect and forward  RSS feed

 
Rakesh Mehra
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Report post to moderator
Difference response.sendRedirect() and request.getRequestDispatcher().forward(request, response)
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
You'll be glad to know that enough people before you have asked this that we wrote the answer down in our ServletsFaq.

Look at the top entry.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!