This is validation I must do in the action validate method. Unless I can reference session scope variables in the validation xml files.
-----Original Message----- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 26 March 2007 15:31 To: Struts Users Mailing List Subject: Re: wildcard validate method problem --- David Harland <[EMAIL PROTECTED]> wrote: > I have 2 forms in a jsp posting to different methods of the same > action. I have different validation that > must be performed in the action validate method for each of the two > methods. How do I distinguish between the two different methods when > the validate method is called or do I need to create 2 separate > actions. S2? ${actionClass}-${methodName}-validation.xml (IIRC, anyway :/ Away from dev box today!) d. ________________________________________________________________________ ____________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - ------ ML {UFI} ______________________________________________________________________ Ufi Limited Registered in England No. 3980770 Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP learndirect Solutions Ltd Registered in England No. 5081669 Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP UFI Charitable Trust Registered in England No. 3658378 Registered Charity No. 1081028 Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP This email has been scanned by the MessageLabs Email Security System. ______________________________________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]