There's an example of doing this inside the Struts Live Sample Chapters (p 144).

You can register on TheServerSide, and download it here:
http://www.theserverside.com/tt/books/sourcebeat/JakartaStrutsLive/index.tss
The section is titled: Extending Validate and Custom Validation in the 
Validate()
Method of an ActionForm

-----Original Message-----
From: Tom Jerry [mailto:[EMAIL PROTECTED]
Sent: Monday, September 18, 2006 5:17 AM
To: Struts Users Mailing List
Subject: validation


is it NOT possible to use both validation.xml and ActionErrors validate ( )
??????

For eg: consider Login Form.

1) I used validation.xml to make sure that the username / password fields
are not empty.
2) I used validate ( ) to validate the values entered in the form fields

If I use either of them, output comes.

If I use both of them, no expected output comes.

That is the problem with my appln. Please help.

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

Reply via email to