Note that redirecting is less efficient than forward as it involves a additional http response and request. So forward will be faster and less processor intensive.

BAL

From: "Daniel Perry" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: RE: Calling one action from another - removing request parameters
Date: Mon, 5 Apr 2004 16:05:45 +0100

If you forward between actions without actually redirecting the browser,
then the parameters remain intact!

If you set redirect to true, then the request will be redirected at the
browser level, and parameters will be cleared.

Daniel.

-----Original Message-----
From: James MacKenzie [mailto:[EMAIL PROTECTED]
Sent: 05 April 2004 16:01
To: [EMAIL PROTECTED]
Subject: Calling one action from another - removing request parameters


Hi All,


I am having a small problem with Struts. If my application calls say
something1.do?row=10 and the result of this calls another action servlet
ie something2.do with no request parameters, something2Action is still
able to see request.getParameter("row").

Does anyone know why is this happening and is there a way of fixing it?

Thanks!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Get rid of annoying pop-up ads with the new MSN Toolbar – FREE! http://toolbar.msn.com/go/onm00200414ave/direct/01/



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to