First, think about what is redirect (redirect) response request
Official statement: Redirect (Redirect) through a variety of methods to re-set the various network request directions to other locations (such as: Web Redirect the domain name, but also to change the routing of data packets through the path a sort redirection
Popular understanding: Redirect is to set up a constraint on the page, if the conditions are met automatically transferred to other pages on the site. Suppose you present position is a forum login page, you fill in the account number, password, click login, if your account password is correct, you automatically jump to the home page of the Forum, returns incorrect login page; automatic here Jump is the meaning of redirects
Forwarding (forward): What is the forwarding request request
Official statement: forward is a computer language instructions for forwarding the request to an HTML file, JSP file, or a block. Here is the forwarding: Before the request unchanged, but continue to process the file or program after forwarding.
Popular understand: do not send forward path address change.
difference:
Data Sharing: forward in the request data can be shared, can not be shared redirect;
Efficiency: forward than redirect efficiency, a request is forwarded two requests are redirected