What is the difference between <jsp:forward> and
sendRedirect?
Answer Posted / manas banerjee
<jsp:forward>--a request object containing to the client
request is send to the destination page which may be
servlet/jsphtml page.
in case of sendRedirect http sends a temporary response to
the browser and browser creates a new request and it sends
to the targeted page.it destroys the session object
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is < jsp:forward> tag for?
How can I prevent the use of scripts and java code on the jsp page?
What is difference between jsp and jstl?
How jsp is compiled?
How can html output be prevented from being cached?
What do you know about writing custom jsp tags?
What is a jsp and what is it used for?
What program opens a jsp file?
What is jstl used for?
What is application in jsp?
What are context initialization parameters?
What is the use of jstl tags in jsp?
How can I prevent the output of my jsp or servlet pages from being cached by the browser?
Explain jsp?
What do cookies mean?