I have found this:
Chaining interceptor:
The Interceptor will copy the original parameters from the request, and the ValueStack is passed in to the target Action. The source Action is remembered by the ValueStack, allowing the target Action to access the properties of the preceding Action(s) using the ValueStack, and also makes these properties available to the final result of the chain, such as the JSP or Velocity page.

Any idea how to workaround this ? I want to update this source original value stack. In api is something about exludes parameters:
<param name="excludes">callText</param>
but it didnt work. Or maybe it is other way to forward from action to the other action, I know that there is a redirect but in this case i will lose my params.

Michał Letyński napisał(a):
Yes I have. When i debug this action those two fields are changed to "". Then i go to the second action which return the jsp page( but on this 2nd action nothing is happened with those fields).I was courius what is in the request on this 2nd action. so:
       HttpServletRequest request =  ServletActionContext.getRequest();
       String test= request.getParameter("test1");
Old value is there. So why the test1 isnt updated on the value stack ?

Might help to see your Action class code.
Do you have a method:
public String getTest1() and getCallTextSubject() ?

On 5/29/07, Michał Letyński <[EMAIL PROTECTED]> wrote:
Hi.
In my action class i have to different String fields(setters and getters
are aplied).
String test1;
String test2;

In my jsp page i have:
<s:property value="test1"/>
and
<s:textfield name="callTextSubject" .....

When i submit the form with some values inside i have in my action those
values which i entered. After some logic i want to clean them up by:
this.test1=""; this.test2="" and then i display this page again(second
action do it -> typ =chain). And what are the results ? The values which
i entered are still there !



---------------------------------------------------------------------
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]

Reply via email to