The fact that you are getting 2 messages makes sense as you are running
validation against both the fields. It does not matter if the arg key is
the same. That would just pick the same message from your properties
file twice.
You could try using the validWhen validator and accociating that
validat
Use Validate method instead Validator framework
On 4/24/06, Dinesh Mehra <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am using struts 1.1
>
> I have two textboxes (username, password).
> My requirements is
> - I need to display a standard error message when both the fields are
> empty
> or when eith
2 matches
Mail list logo