Uses of Class org.apache.struts.action.ActionErrors (Apache Struts API Documentation)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.struts.action.ActionErrors

Packages that use ActionErrors
org.apache.struts.action | The action package is the core of the struts framework, providing the "Controller" aspect of a MVC model.
org.apache.struts.config | The "config" package contains configuration objects that correspond to elements that may be specified in the `struts-config.xml` module configuration file.
org.apache.struts.util | The Utilities package provides a variety of families of classes, to solve problems that are commonly encountered in building web applications.
org.apache.struts.validator | The validator package provides a series of classes to validate `ActionForm` type of input.

Uses of ActionErrors in org.apache.struts.action

Methods in org.apache.struts.action that return ActionErrors
`ActionErrors` | `ActionForm.validate(ActionMapping mapping, javax.servlet.ServletRequest request)` Validate the properties that have been set for this non-HTTP request, and return an `ActionErrors` object that encapsulates any validation errors that have been found.
`ActionErrors` | `ActionForm.validate(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)` Validate the properties that have been set for this HTTP request, and return an `ActionErrors` object that encapsulates any validation errors that have been found.

Methods in org.apache.struts.action with parameters of type ActionErrors
`protected void` | `Action.saveErrors(javax.servlet.http.HttpServletRequest request, ActionErrors errors)` Save the specified error messages keys into the appropriate request attribute for use by the <html:errors> tag, if any messages are required.

Constructors in org.apache.struts.action with parameters of type ActionErrors
`ActionErrors(ActionErrors messages)` Create an `ActionErrors` object initialized with the given messages.

Uses of ActionErrors in org.apache.struts.config

Methods in org.apache.struts.config that return ActionErrors
`ActionErrors` | `ConfigHelper.getActionErrors()` The `org.apache.struts.action.ActionErrors` object, for this request.
`ActionErrors` | `ConfigHelperInterface.getActionErrors()` The `org.apache.struts.action.ActionErrors` object, for this request.

Uses of ActionErrors in org.apache.struts.util

Methods in org.apache.struts.util that return ActionErrors
`static ActionErrors` | `RequestUtils.getActionErrors(javax.servlet.jsp.PageContext pageContext, java.lang.String paramName)` Retrieves the value from request scope and if it isn't already an `ErrorMessages` some classes are converted to one.

Methods in org.apache.struts.util with parameters of type ActionErrors
`static org.apache.commons.validator.Validator` | `StrutsValidatorUtil.initValidator(java.lang.String key, java.lang.Object bean, javax.servlet.ServletContext application, javax.servlet.http.HttpServletRequest request, ActionErrors errors, int page)` Deprecated. As of Struts 1.1, replaced by `Resources.initValidator(String,Object,ServletContext,HttpServletRequest,ActionErrors,int)`
`static boolean` | `StrutsValidator.validateRequired(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateRequired(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)`
`static boolean` | `StrutsValidator.validateMask(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateMask(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)`
`static java.lang.Byte` | `StrutsValidator.validateByte(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateByte(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)`
`static java.lang.Short` | `StrutsValidator.validateShort(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateShort(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)`
`static java.lang.Integer` | `StrutsValidator.validateInteger(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateInteger(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)`
`static java.lang.Long` | `StrutsValidator.validateLong(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateLong(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)`
`static java.lang.Float` | `StrutsValidator.validateFloat(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateFloat(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)`
`static java.lang.Double` | `StrutsValidator.validateDouble(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateDouble(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)`
`static java.util.Date` | `StrutsValidator.validateDate(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateDate(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)`
`static boolean` | `StrutsValidator.validateRange(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateIntRange(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)`
`static java.lang.Long` | `StrutsValidator.validateCreditCard(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateCreditCard(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)` Translated to Java by Ted Husted (husted@apache.org ). Reference Sean M. Burke's script at http://www.ling.nwu.edu/~sburke/pub/luhn_lib.pl
`static boolean` | `StrutsValidator.validateEmail(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateEmail(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)` Based on a script by Sandeep V. Tamhankar (stamhankar@hotmail.com), http://javascript.internet.com
`static boolean` | `StrutsValidator.validateMaxLength(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateMaxLength(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)`
`static boolean` | `StrutsValidator.validateMinLength(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateMinLength(Object,ValidatorAction,Field,ActionErrors,HttpServletRequest)`

Uses of ActionErrors in org.apache.struts.validator

Methods in org.apache.struts.validator that return ActionErrors
`ActionErrors` | `ValidatorForm.validate(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)` Validate the properties that have been set from this HTTP request, and return an `ActionErrors` object that encapsulates any validation errors that have been found.
`ActionErrors` | `DynaValidatorForm.validate(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)` Validate the properties that have been set from this HTTP request, and return an `ActionErrors` object that encapsulates any validation errors that have been found.
`ActionErrors` | `DynaValidatorActionForm.validate(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)` Validate the properties that have been set from this HTTP request, and return an `ActionErrors` object that encapsulates any validation errors that have been found.
`ActionErrors` | `ValidatorActionForm.validate(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)` Validate the properties that have been set from this HTTP request, and return an `ActionErrors` object that encapsulates any validation errors that have been found.

Methods in org.apache.struts.validator with parameters of type ActionErrors
`static org.apache.commons.validator.Validator` | `Resources.initValidator(java.lang.String key, java.lang.Object bean, javax.servlet.ServletContext application, javax.servlet.http.HttpServletRequest request, ActionErrors errors, int page)` Initialize the `Validator` to perform validation.
`static boolean` | `FieldChecks.validateRequired(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if the field isn't null and length of the field is greater than zero not including whitespace.
`static boolean` | `FieldChecks.validateRequiredIf(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, org.apache.commons.validator.Validator validator, javax.servlet.http.HttpServletRequest request)` Checks if the field isn't null based on the values of other fields.
`static boolean` | `FieldChecks.validateMask(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if the field matches the regular expression in the field's mask attribute.
`static java.lang.Byte` | `FieldChecks.validateByte(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if the field can safely be converted to a byte primitive.
`static java.lang.Short` | `FieldChecks.validateShort(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if the field can safely be converted to a short primitive.
`static java.lang.Integer` | `FieldChecks.validateInteger(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if the field can safely be converted to an int primitive.
`static java.lang.Long` | `FieldChecks.validateLong(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if the field can safely be converted to a long primitive.
`static java.lang.Float` | `FieldChecks.validateFloat(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if the field can safely be converted to a float primitive.
`static java.lang.Double` | `FieldChecks.validateDouble(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if the field can safely be converted to a double primitive.
`static java.util.Date` | `FieldChecks.validateDate(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if the field is a valid date.
`static boolean` | `FieldChecks.validateRange(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Deprecated. As of Struts 1.1, replaced by `FieldChecks.validateIntRange(java.lang.Object,org.apache.commons.validator.ValidatorAction,org.apache.commons.validator.Field,org.apache.struts.action.ActionErrors,javax.servlet.http.HttpServletRequest)`
`static boolean` | `FieldChecks.validateIntRange(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if a fields value is within a range (min & max specified in the vars attribute).
`static boolean` | `FieldChecks.validateDoubleRange(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if a fields value is within a range (min & max specified in the vars attribute).
`static boolean` | `FieldChecks.validateFloatRange(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if a fields value is within a range (min & max specified in the vars attribute).
`static java.lang.Long` | `FieldChecks.validateCreditCard(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if the field is a valid credit card number.
`static boolean` | `FieldChecks.validateEmail(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if a field has a valid e-mail address.
`static boolean` | `FieldChecks.validateMaxLength(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if the field's length is less than or equal to the maximum value.
`static boolean` | `FieldChecks.validateMinLength(java.lang.Object bean, org.apache.commons.validator.ValidatorAction va, org.apache.commons.validator.Field field, ActionErrors errors, javax.servlet.http.HttpServletRequest request)` Checks if the field's length is greater than or equal to the minimum value.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2000-2003 - Apache Software Foundation