The part of the requestdispatcher.forward () method and httpservletResponse.sendRedirect () method is that the former is only the steering of the control over the container, and does not display the turn-back address in the client browser address bar, he will not change the request. Value, if you need to get new information from it in the next page, you can reply .SetaTRibute () to place some flags, which is obtained from the next page; the latter is completely jump, the browser will The address of the jump will be obtained and the request link is resended. Thus, the link address after the jump is seen from the address bar of the browser. Therefore, the former is more efficient, and when the former can meet the needs, try to use the Request Dispatcher.Forward () method, and this also helps hide the actual link. In some cases, for example, you need to jump into a resource on a further server, you must use the httpservletResponse.sendRequest () method.