difference between forward and sendredirect
Answer Posted / uv
If I am not wrong,
forward() is used to transfer the request within the web
application whereas sendRedirect() is used to transfer the
request from one webapplication to another.
| Is This Answer Correct ? | 21 Yes | 5 No |
Post New Answer View All Answers
Explain Action Servlet?
What is the use of attribute in servlets?
What is new in ServletRequest interface ? (Servlet 2.4)
Difference between forward() method and sendredirect() method ?
What is the purpose of inter-servlet communication?
What are the annotations used in servlet 3?
What are the different session tracking techniques?
What is the difference between the http servlet and generic servlet?
What is servlet used for?
Differentiate between get and post?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
When a servlet accepts a call from a client, it receives two objects. What are they?
How can an existing session be invalidated?
What is the use of request dispatcher interface?
What are the servlet events?