What is difference between Forward() and sendRedirect()
methode?
Answer Posted / raghunath bj
Jsp forward will be used to send some sort of response to
any webresource (it can be a servlet or a jsp) and
sendRedirect will be used in the case of response to be
sent to the next view or Jsp.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How can the referrer and the target urls be used in servlet?
Describe servlet?
What is servlet and its life cycle?
What is the difference between Server and Container?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What is the difference between encodeRedirectUrl and encodeURL?
Who is responsible to create the object of servlet?
What are advantages of servlets over cgi?
What is a servlet engine?
What is the servletconfig object?
How is the get () method different from the post() method?
What is java servlet?
How to make sure a servlet is loaded at the application startup?
Explain url encoding?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255