Difference on SendRedirect vs Forward in JSP

Tutorials Shared by the Internet Community

Advertisements


Synopsis

If you have worked in java web application you probably know about these two methods forward() and SendRedirect() you can get these methods from Reque

Statistics

  • Total Hits - 23190

  • Total Votes - 128 votes

  • Vote Up - 57 votes

  • Vote Down - 71 votes

  • Domain - javarevisited.blogspot.com

  • Category - JAVA/J2EE

  • Submitted By - Javin Paul

  • Submitted on - 2011-09-24 12:06:51

Description

If you have worked in java web application you probably know about these two methods forward() and SendRedirect() you can get these methods from RequestDispatcher and forward or redirect your request for further processing to some other servlet or jsp within same web application or different web application within same server or to different server. these are one of essential methods everybudy should know. this article discusses differences between sendRedirect and forward and suggest which one to use on which situation. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements