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
Can I stop jsp execution while in the midst of processing a request?
Can we use javascript in jsp?
How to configure init parameters for jsp?
What is server side programming language?
What is the difference between jsp and thymeleaf?
What are jsp and servlets?
Is it possible to share an httpsession between a jsp and ejb? What happens when I change a value in the httpsession from inside an ejb?
Where is jsp used?
What is the purpose of creating custom tags?
What is difference between include directive and jsp:include action?
Is jsp static or dynamic?
Why are jsp pages the preferred api for creating a web-based client program?
What are stored procedures? How is it useful?
What is session scope?
Define JSP Scriptlet.