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
How can I override the jspinit() method within a jsp page?
How can I maintain session in JSP Page in the bases of user name and password:
how to write the code of jsp program?
How do I perform browser redirection from a jsp page?
What are jsp declarations?
What is the difference between include directive and include action?
How can we handle the exceptions in jsp?
What is an implicit object?
How can I implement a thread-safe jsp page? What are the advantages and disadvantages of using it?
What is the use of implicit object named "application" in Application?
When will container initialize multiple jsp/servlet objects?
How can we avoid direct access of jsp pages from client browser?
Explain jsp?
Which language is used to write servlets and jsp?
How can we retrieve warnings?