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
Explain how you understand the action tag and jsp action elements.
Why should we not configure jsp standard tags in web.xml?
hpcl information systems officer 2008 Question Papers or any last previous questions papers thanks in advance shyamprasad71@gmail.com shyamprasad71@gmail.com
How can I use the results of my method? ea: <%! method (int x) { stuff return y; } %> <% out.println(y); %> how can I make this work? "y" is a variable made during the method.
How can I prevent the output of my jsp or servlet pages from being cached by the browser?
How can automatic creation of session be prevented in a jsp page?
Can we override jspinit method?
Which tags are used for bean development?
Why jsp is faster than servlet?
What is difference between java and jsp?
What are the events in jsp page?
How does jsp engines instantiate tag handler classes instances?
What are the different scope values for the jsp objects?
What is the jspinit() method?
What is difference between sendredirect and forward?