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
How can I override the jspinit() method within a jsp page?
What is expression language injection?
How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?
How we can disable session in jsp?
Why is it not necessary to configure standard jsp tags in web.xml?
Why do we need custom tags in jsp?
Why do we use jsp?
What is the use of 'out' implicit object?
What is jstl used for?
Why do we use jstl tags?
How many jsp scripting elements are there and what are they?
How jsp is compiled?
Define jsp declaration?
What is a scriptlet?
Explain client-side and server-side validation.