Are you sure that the version of the code that you are using is consistent with 
the version of the Struts version that you are using?  

If the signature for the validator-rules methods has changed since the example 
that was provided, then it's not going to call those methods.  You should be 
seeing some sort of stack dump for that (somewhere).

I confirmed this a few minutes ago that his code is not consistent with the 
current validator-rules.xml file, so you should make sure things are in sync.  
When I ran his stuff against a struts.jar from 1.1 it worked fine.

Good luck.

-----Original Message-----
From: A. Lotfi [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 12:06 PM
To: Struts Users Mailing List
Subject: RE: Struts Complete Reference, chp6 is not working


I did check the errata and downlod the code from his website, but it does not 
work, I sent email to James, but still waiting.
  thanks

David Friedman <[EMAIL PROTECTED]> wrote:
  Have you checked the author's website, the errata (mistakes lists) and/or
downloaded their updated example code and tried that? I always do that
because typos sneak in every time. See:

http://www.jamesholmes.com/StrutsTCR/

Code examples are downloadable at:
http://www.jamesholmes.com/StrutsTCR/StrutsTCR-code.zip

Regards,
David

-----Original Message-----
From: A. Lotfi [mailto:[EMAIL PROTECTED]
Sent: Monday, June 12, 2006 10:19 AM
To: Struts Users Mailing List
Subject: Struts Complete Reference, chp6 is not working


Hi,
I bought the book "Struts The Complete Reference", trying to learn
validator, but when I tried the code it does not work, I don't know what's
missing in that code,
when I type a bad social security number , I always get :

No Employees Found.

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


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



 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to