--- aum strut <[EMAIL PROTECTED]> wrote:
> 2) Second case is where i have to check if the useris valid with respect to
> the database, and in my action class i am using a
> 
> addFieldError("UserID", "Either User name or Password is Wrong"); and

*Where* are you doing that? You need to explain *how* you're trying to do
things, not just show a line of code out of context.

> <s:fielderror/> to display he error but these two are not working
> together,my server side validation is working fine but the otheris not
> working

What does that mean, your "server side validation is working fine but the
other is not"? They're both server-side validations.

Anyway, I'll take a guess with what you've provided and posit that you're not
doing the UserID validation in the validate() method, but in an execute()
method.

This means that validation has already run and returned you to your "input"
result via the workflow interceptor.

Dave


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

Reply via email to