son nickel <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> Date: Tue, 29 Jan 2008 23:28:42 -0800 (PST)
> To:
> Subject: Re: Error messages is repeated Using Struts 2 Annotation validation
>
>
> Thanks for your quick response,
>
> In my Login.jsp,
>
Thanks for your quick response,
In my Login.jsp,
Instead of using , I used html image tag .
If i used it works fine.
newton.dave wrote:
>
> --- Johnson nickel <[EMAIL PROTECTED]> wrote:
>>
> @RequiredFieldValidator(type=ValidatorType.SIMPLE,fieldName="username",messag
Hi,
Something simillar happens to me when i started with Struts 2. I use
appfuse and I realized that a message displays just above the field I'd
validated, and where I included a messages.jsp (this jsp displays the action
and error messages), usually at the top of the html page.
To solve t
--- Johnson nickel <[EMAIL PROTECTED]> wrote:
>
@RequiredFieldValidator(type=ValidatorType.SIMPLE,fieldName="username",message="UserName
> is required")
For a string field you'll probably want to use the @RequiredStringValidator:
a text field will return an empty string, whereas @RequiredFieldVali
4 matches
Mail list logo