struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takhar, Sandeep" <Sandeep.Tak...@CIBC.ca>
Subject RE: Calling one action from another - removing request parameters
Date Mon, 05 Apr 2004 15:21:37 GMT
This is the same request so the parameters are still there.

In the struts-config you can use redirect="true" which means use a new request (on the forward),
but I rarely use this personally. (Default is false)

sandeep

-----Original Message-----
From: James MacKenzie [mailto:jmackenz@uk.ibm.com]
Sent: Monday, April 05, 2004 11:01 AM
To: user@struts.apache.org
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message