On 9/21/05, Francisco Antonio Vieira Souza <[EMAIL PROTECTED]> wrote:
> Ok, thanks but those examples were developed with Struts 1.1, and I am
> afraid something has changed in Struts 1.2.7
Not much. Download MailReader Demo application and check out how
username and password are validated.
By th
the chapter 12 directory is a lot of examples of how to use the struts
validator correctly.
Regards
Dave.
-Original Message-
From: Francisco Antonio Vieira Souza [mailto:[EMAIL PROTECTED]
Sent: 21 September 2005 10:17
To: Struts Users Mailing List
Subject: How to validate in Struts
: Francisco Antonio Vieira Souza [mailto:[EMAIL PROTECTED]
Sent: 21 September 2005 10:17
To: Struts Users Mailing List
Subject: How to validate in Struts 1.2.7
Considering that nobody saw my big previous message about this subject.
I ask you all, does anyone could provide me any example of validation
Thanks a lot my friend, but consider using DynaForm, how could I do that?
David Delbecq escreveu:
This will help you :)
don't forget to add validate=true in your struts-config.xml
public class MyForm extends ActionForm {
public static int MAX =100;
private Integer value;
public I
This will help you :)
don't forget to add validate=true in your struts-config.xml
public class MyForm extends ActionForm {
public static int MAX =100;
private Integer value;
public Integer getValue() {
return value;
}
public void setValue(Integer value) {
t
Considering that nobody saw my big previous message about this subject.
I ask you all, does anyone could provide me any example of validation in
Struts 1.2.7? (since until now I had no success)
___
Novo Yah
6 matches
Mail list logo