ch action
where validate="false". It seems to be working. Is it an OK practice to have many
mappings for the same dispatch action?
Thanks
NK
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: Monday, October 04, 2004 12:51 PM
To: Struts Users Mailing Li
I've solved this problem a couple of different ways.
1) Turn off validation in the struts-config and handle it within your
action method. Something like:
ActionErrors errors = form.validate(mapping, request);
if (errors != null && !errors.isEmpty()) {
saveErrors(request, errors);
If you are talking about this one action, I am not sure why you would
want to use DispatchAction. If you were planning in the future to maybe
use multiple methods off this action, then DispatchAction or something
like DispatchAction might make sense. As it is, it doesn't make sense.
You are
3 matches
Mail list logo