|
Redirection is actually two requests,
The first time, the client requests A, the server responds, and the response comes back, telling the browser that you should go to B. At this time IE can see that the address has changed, and the historical back button is also lit.
So the code is response.sendRedirect (.....)
Forwarding is the internal transfer of the request / response processing right to another server.
For the client, it only knows the A that it requested first, and not the middle B, or even C, D ... |
|