when we will use the SendRedirect method instead of forward.

Answer Posted / ranjan satapathy

When there is no need to record/maintain the previous data
of the user.

Like in google we are searching some infom
and after clicking on the searched item, it will forward to
some other server or link, where there is no required to
maintain any previous information of user.

that depends you need to think about the Scenario and use.

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are advantages of jsp over asp, php, pure servlets and others?

457


Why taglib is used in jsp?

491


What are the attributes on page directives?

488


How did you implement caching in jsp?

571


What is the difference between java servlet and jsp?

479






What is the resourcebundle class in jsp?

471


What is meant by implicit objects and what are they?

486


What are the two types of comments supported by jsp?

480


What is jsp and its features?

512


Can we override jspinit method?

467


What is pagecontext jsp?

498


How can we handle the exceptions in jsp?

486


What is jsp taglib?

490


What are the directives in jsp?

440


What are the literals used in jsp?

559