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
Explain jsp and tell its uses?
What is jsp and its features?
What are the different types scripting elements in jsp?
What are jsp elements?
How is jsp used in the mvc model?
What is the
What is scriptlet in jsp?
What is jsp expression?
What are the advantages of jstl?
What is the difference in using request.getrequestdispatcher() and context.getrequestdispatcher()?
Can we override the jspinit(), _jspservice() and jspdestroy() methods?
What is session object in jsp?
What is session getattribute in jsp?
What are the possible values for language directive?
What is jsp include tag?