Does you <action> element in struts-config include the attribute
validate="true" ?

Mark

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 23 October 2001 10:57
To: [EMAIL PROTECTED]
Subject: automatically calling validate() of ActionForm


Hi!

my application doesn't automatically call the validate() function in my
ActionForm-extending class. I added the form to the struts-config file in
the right manner, but it won't work. The form is filled and passed to the
Action-class, but it won't execute validate().

If I try to call form.validate(mapping, request) manually from within the
perform method of my Action class, it gives me a 500 internal server error
because it can't get a request dispatcher for path null.

Anyone knows what I'm doing wrong here?

Thanx!
Michel



***************************************************************************
This email message contains confidential information for the above addressee only.  If 
you are not the intended addressee you must not disclose or use the information in any 
manner whatsoever.

Any opinion or views contained in this email message are those of the sender, do not 
represent those of the Company in any way and reliance should not be placed upon its 
contents.

Unless otherwise stated this email message is not intended to be contractually 
binding.  Where an Agreement exists between our respective companies and there is 
conflict between the contents of this email message and the Agreement then the terms 
of that Agreement shall prevail.

Abbey National Treasury Services plc. Registered in England. Registered Office:  Abbey 
House, Baker Street, London NW1 6XL.  Company Registration No: 2338548.  Regulated by 
the SFA
***************************************************************************

Reply via email to