In your code you can, I don't think there is a run-time parameter between them
because it would affect code quite drastically if you switched from forwards
to redirects.

At 08:40 AM 25/04/01 +0100, you wrote:
>Can you switch between the two, i.e. make struts use redirect?

>>At 11:13 PM 24/04/01 -0400, you wrote: 
>>Anyone know why struts uses forward instead of redirect?
>
>A redirect sends a request back to the browser, thus generating another
>connection between the client and server. Forward keeps it internal
>to the server, which also means you can re-use the request object.

--
Kumera - a new Open Source Content Management System
for small to medium web sites written in Perl and using XML
http://www.cyber4.org/kumera/index.html

Reply via email to