What is the difference b/w sendRedirect()  and <jsp: forward>?

Showing Answers 1 - 2 of 2 Answers

sunil

  • Jul 6th, 2005
 

sendredirect will happen on clint side & request , rsponse will be newly created, for forward action it is server side action & request, response is passed & not modified or destroyed.

  Was this answer useful?  Yes

KishoreDVS

  • Jul 12th, 2005
 

we can use when we want to forward a page with in the context. using sendRedirect() method we can forward to jsp which is in another context also. And in there will be only one request procesed between client and server whereas in sendRedirect() there will be multiple requests between client and server.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions