Refer to post http://blog.csdn.net/lishehe/article/details/23133105 forwarding: Request.getrequestdispatcher ("URL"). Forward ( HttpServletRequest, HttpServletResponse) The client sends a request to the server side, the server carries on the corresponding processing, after the execution completes according to the request result forwards to the corresponding interface, This entire process was done in the same request with the redirect: Response.sendredirect ("URL") sent two request during the entire process, the request before the redirect and the redirected request object are different Summary: The forwarding is carried out in the server; redirection is fast at the client, because only one request, redirection slow, two times the request forwarding address bar does not change; redirect the Address bar to change the forwarding must be done on the same server; redirection can be done on different servers
About redirection and forwarding