What is the difference between sendRedirect() and forward()?
in what situations do we have to use send redirect()
instead of forward().

Answer Posted / senthilraj

Using thse methods we can redirect one page to another page.

Using the sendReirect() we can connect any URL from
outide the web application.
Using forward() we can connect URL only within
the application.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is visual studio good for java?

685


What is client-certificate authentication?

751


Is eclipse written in java?

713


What is the difference between java and j2ee?

623


Why java is interpreted language?

623


What are the components of the java platform?

677


What is java gui?

680


What is document root?

655


What is pure java?

727


Is j2ee a programming language?

709


How do you make a class immutable in java?

631


What are j2ee components?

641


What is cascade delete?

709


What is the J2EE module?

785


Why java is a platform?

635