when we will use the SendRedirect method instead of forward.



when we will use the SendRedirect method instead of forward...

Answer / 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

More JSP Interview Questions

What is welcome file list?

0 Answers  


How do I include static files within a jsp page?

0 Answers  


How can I set a cookie and delete a cookie from within a jsp page?

0 Answers  


What is pagecontext jsp?

0 Answers  


List out the various scope values of jsp action.

0 Answers  






What is jstl jar?

0 Answers  


What is < jsp:forward> tag for?

0 Answers  


How to implement a thread-safe jsp page?

3 Answers  


How is jsp include directive different from jsp include action. ?

0 Answers  


Which is mandatory in tag in jsp?

0 Answers  


What is session getattribute in jsp?

0 Answers  


What is a jsp expression?

0 Answers  


Categories