RE: Question about throwing an exception in the ValidatorForm validate method.

2004-04-10 Thread Stephan Jones
idual action mapping? Thanks for the first response Niall. Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: April 9, 2004 11:43 AM To: Struts Users Mailing List Subject: Re: Question about throwing an exception in the ValidatorForm validate method. Do you want to do

Re: Question about throwing an exception in the ValidatorForm validate method.

2004-04-10 Thread Niall Pemberton
OTECTED]> Sent: Saturday, April 10, 2004 12:08 PM Subject: Re: Question about throwing an exception in the ValidatorForm validate method. > No, you can only specify a RequestProcessor for different modules. > > You could put something in your struts-config.xml to indicate to the > Req

Re: Question about throwing an exception in the ValidatorForm validate method.

2004-04-10 Thread Niall Pemberton
ECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, April 09, 2004 8:45 PM Subject: RE: Question about throwing an exception in the ValidatorForm validate method. > The RequestProcessor processPreprocess(request, response) method seems the > best but >

RE: Question about throwing an exception in the ValidatorForm validate method.

2004-04-09 Thread Stephan Jones
Niall. Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: April 9, 2004 11:43 AM To: Struts Users Mailing List Subject: Re: Question about throwing an exception in the ValidatorForm validate method. Do you want to do this on a form by form basis or for all forms? If you

Re: Question about throwing an exception in the ValidatorForm validate method.

2004-04-09 Thread Niall Pemberton
Do you want to do this on a form by form basis or for all forms? If you want to do it for all forms then you could either customise RequestProcessor (maybe in the processPreprocess(request, response) method) or use a Filter. If you need to do it on a form by form basis, then why not skip validati