Re: How to validate in Struts 1.2.7

2005-09-21 Thread Michael Jouravlev
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

Re: How to validate in Struts 1.2.7

2005-09-21 Thread Francisco Antonio Vieira Souza
Ok, thanks but those examples were developed with Struts 1.1, and I am afraid something has changed in Struts 1.2.7 Harland, David escreveu: Go to this address and download the sample application code. http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764544373,descCd-download_code.html In t

RE: How to validate in Struts 1.2.7

2005-09-21 Thread Harland, David
Go to this address and download the sample application code. http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764544373,descCd-download_code.html In the chapter 12 directory is a lot of examples of how to use the struts validator correctly. Regards Dave. -Original Message- From: Fra

Re: How to validate in Struts 1.2.7

2005-09-21 Thread Francisco Antonio Vieira Souza
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

Re: How to validate in Struts 1.2.7

2005-09-21 Thread David Delbecq
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