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 |
Can constructor be used instead of init(), to initialize servlet?
what is difference between redirect and forward method?
12 Answers Polaris, TCS, Wipro,
What are the implicit el objects in jsp?
What are the different types scripting elements in jsp?
What does it mean when tags or attributes are said to be deprecated?
Explain implicit objects in jsp?
How can we use beans in jsp?
What happens when a page is statically included in another jsp page?
What are action tags?
What is jstl jar?
Explain the various scope values for <jsp:useBean> tag.
Which package does jsp api consist of?