| |
GeekInterview.com > Placement Papers > iNautix > Technical
| Print | |
Question: What is the difference between forward tag and sendRedirect() ?
|
| April 04, 2005 17:22:56 |
#1 |
| Anand |
Member Since: Visitor Total Comments: N/A |
RE: What is the difference between forward tag and sendRedirect() ? |
A sendRedirect() instructs the browser to reload a different page. So the browser ends up making two calls to get a page. A forward() acts on server-side and makes the browser wait while the server internally hands of processing of the request to some other Servlet. That new servlet will respond directly. |
| |
Back To Question | |