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 is the
Why is it not recommended to use script elements in jsp?
What is scriptlet, expression and declaration in jsp?
What is the purpose of creating custom tags?
What is a jsp and what is it used for?
how to insert star image and need to rate it.. one star two star so on how to do in jsp...????
How to get value from java to jsp page?
Hi, I've applied for HPCL(Information System Officer)& UIIC (A).Plz send me previous/sample papers and any suggestions regarding this exam.Please advice me good study material or related links. Thanks in advance shyam shyamprasad71@gmail.com
What is scripting elements in jsp?
What is jsp in javascript?
write a program in javasacript to shake the window
How do we catch exception and process it using jstl?
How are cookies set in jsp?
How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?
What are the lifecycle phases of a jsp?