What is the difference between response.redirect() and forward and request dispatcher ? Which is faster ?

Showing Answers 1 - 2 of 2 Answers

Sumit Sengar

  • Aug 16th, 2005
 

forward method of RequestDispatch interface as response.sendRedirect() takes an additional time doing the round trip between client and server.

  Was this answer useful?  Yes

Sushil

  • Nov 24th, 2005
 

response.redirect will be carried on server side.It will take client request and then redirect that page on server,while forward will be carried on client and this will save time.obiviously forward is faster.

  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