The difference between forwarding and forwarding

Possible duplicate:
difference between jsp forward and redirect

Does anyone know the differences between forwarding and redirection in Http servlets and the effects of these differences in the browser are updated?

+5
source share
4 answers

Forwarding is performed without letting the client know that it is used for internal communication on the server, and when redirecting, we ask the client to return and ask him here.


Real life example

Forwarding

You went to the post office, there are several mailboxes and a person, now one of them accepts your request, and he internally redirects it to the other responsible person to fulfill your request, and at the end of the process you will get the result

, goto window no5 .

.

+32

, .

(: servlet → JSP). , (: → ).

post-redirect-get, wikipedia, , .

+4

. .

. HTTP- ( ) , GET , - .

+3

.

. URL-. , .

+1

All Articles