java tutorial

How to use SendRedirect and Forward in Servlet JSP

J2EE is popular web applicaiton platform and with the introduction of Spring framework its gain more popularity not as whole but with Spring. 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, to read full story see  SendRedirect and Forward in JSP Servlet


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s