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 multiple submits due to refresh button clicks be prevented?
What are the attributes of page directive?
What are different implicit objects of jsp?
What is session object in jsp?
HOW CAN WE COMPARE TWO PDF FILES USING JSP ?
How can I prevent the use of scripts and java code on the jsp page?
How we can configure init params in jsp?
why ,what, when, where,how the extended star schema is used.
How do I save a jsp file?
What jsp lifecycle methods can I override?
Which jsp methods can be overridden?
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?
What is context in web application?
Why are implicit objects not available in a regular jsp page?
How can a thread safe JSP page be implemented?