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 |
What is difference between sendredirect and requestdispatcher?
How do I save a jsp file?
What is the difference between a jspwriter and a servlet printwriter?
What is expression language injection?
What is full form of jsp?
What is the use of jsp implicit objects?
What is session tracking in jsp?
How many page directive we can use in a single JSP?
When destroy method of jsp is called?
What is a scriptlet in jsp and what is its syntax?
What is pagescope in jsp?
Where is jsp used?