struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Yee <>
Subject Re: Why Struts use "forward" instead of "redirect" to "jump" from one JSP to another?
Date Mon, 04 Oct 2004 04:45:00 GMT
There are several reasons to use a forward instead of a redirect.

1) Forwards are faster b/c they do not result in another request being 
generated from the browser.
2) Forwards allow information to be passed in the request object rather 
than as strings in the query parameters on a URL or in the Session object.
3) Forwards are more secure since they are internal to the server and 
aren't exposed on the network.
4) Forwards hide identity of the actual page that is being returned to the 


At 10:27 AM 10/2/2004, you wrote:
>Hi , all
>I am wondering why Struts use "forward" instead of  "redirect"
>to "jump" from one JSP to another.
>Could anybody give me some hint?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message