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]

Reply via email to