public class ValidateActionForm extends AbstractValidateActionForm
Validate the properties of the form bean for this request. If there are
any validation errors, execute the child commands in our chain; otherwise,
proceed normally. Also, if any errors are found and the request is a
multipart request, rollback the MultipartRequestHandler
.
Constructor and Description |
---|
ValidateActionForm() |
Modifier and Type | Method and Description |
---|---|
protected ActionErrors |
validate(ActionContext context,
ActionConfig actionConfig,
ActionForm actionForm)
Call the
validate() method of the specified form bean,
and return the resulting ActionErrors object. |
execute
execute
protected ActionErrors validate(ActionContext context, ActionConfig actionConfig, ActionForm actionForm)
Call the validate()
method of the specified form bean,
and return the resulting ActionErrors
object.
validate
in class AbstractValidateActionForm
context
- The context for this requestactionForm
- The form bean for this requestactionConfig
- The ActionConfig
for this requestCopyright © 2000–2016 Apache Software Foundation. All rights reserved.