what is difference between redirect and forward method?
Answer Posted / javahelper
forward() is for sending the data between two applications
in same server only,but sendRedirect() is for sending the
data between two applications between two servers also,
one more different is in forward() mechanism one
request,one response objects will be create but in
sendRedirect() mechanism two request and two response
objects will be create.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the lifecycle phases of a jsp?
Which attribute specifies a jsp page that should process any exceptions thrown but not caught in the current page? : Citibank
What are the implicit, internal objects and methods on the jsp page?
What are custom tags?
What is session tracking in jsp?
Which categories can be divided jstl tags, give examples.
What is the difference between jsp and php?
What is jsp expression?
How can we avoid direct access of jsp pages from client browser?
How to deactivate el on jsp?
What is a expression?
What are different implicit objects of jsp?
How many types of jsp tags are there?
What is jsp and asp?
How jsp is executed by web server?