What is the difference between <jsp:forward> and
sendRedirect?
Answer Posted / prasanth setty
When you want to preserve the current request/response
objects and transfer them to another resource WITHIN the
context, you must use <jsp:forword>
If you want to dispatch to resources OUTSIDE the context,
then you must use sendRedirect. In this case you won't be
sending the original request/response objects, but you will
be sending a header asking to the browser to issue a
request to the new URL.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is the extended star schema
What is declaration statement?
How is jsp better than servlet technology?
What is el?
What are jsp and servlets?
What is a scriptlet in jsp and what is its syntax?
What are the jsp standard actions?
What is jsp and servlets?
Mention the advantages of jsp over pure servlets?
What are the different types of directives available in jsp?
What are the implicit el objects in jsp?
how can i add properties in dynamic text fields using .js file?
Which jsp methods can be overridden?
Explain the
What is full form of jsp?