Yes sorry, it was an interceptor stack. I had removed all the
interceptors except the new one that I had created, and I did not now
that the "mapping" between the request parameters and my action
properties was done by an interceptor.

I have re-added the default stack, and it's working perfectly now.

Thanks,

Jeremy

-----Original Message-----
From: Ian Roughley [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 19, 2007 7:13 PM
To: Struts Users Mailing List
Subject: Re: Question about validation mechanism

The validator interceptor doesn't do anything.  If you are using the s2 
tags, then the getter matching the name attribute will be called on the 
action or model.

/Ian

-- 
Ian Roughley
>From Down & Around, Inc.
Consulting * Training / Mentoring * Agile Process * Open Source
web: http://www.fdar.com - email: [EMAIL PROTECTED]



Jeremy JGR. Grumbach wrote:
> Hi,
>
>  
>
> I have a page "add.jsp" with a form and lots of fields. I have added a
> validation in my struts configuration to validate the form.
>
> During the form validation, if an error is detected, then an action
> error is added to the request and struts redirects to the "input"
> forward. In most of cases, it is the "add.jsp" page. And all the
fields
> that the user has entered are still there.
>
> Does anybody know how the validator interceptor does to keep the
values
> that the user has entered?
>
>  
>
> Thanks in advance,
>
>  
>
> Jeremy
>
>  
>
>  
>
>
>   

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