Package | Description |
---|---|
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.chain.commands |
Configurable commands
that may be placed within the request processor.
|
org.apache.struts.chain.commands.servlet |
Commands which are particular to servlet processing.
|
org.apache.struts.scripting |
The scripting package is the core of the Struts Scripting framework,
which builds on Struts Action to allow Struts Actions be written
with the scripting language of your choice.
|
org.apache.struts.validator |
The validator package provides a series of classes to validate
ActionForm type of input. |
Modifier and Type | Method and Description |
---|---|
ActionErrors |
ActionForm.validate(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Can be used to 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. |
ActionErrors |
ActionForm.validate(ActionMapping mapping,
javax.servlet.ServletRequest request)
Can be used to 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. |
Constructor and Description |
---|
ActionErrors(ActionErrors messages)
Create an
ActionErrors object initialized with the
given messages. |
Modifier and Type | Method and Description |
---|---|
protected abstract ActionErrors |
AbstractValidateActionForm.validate(ActionContext context,
ActionConfig actionConfig,
ActionForm actionForm)
Call the
validate() method of the specified form bean,
and return the resulting ActionErrors object. |
Modifier and Type | Method and Description |
---|---|
protected ActionErrors |
ValidateActionForm.validate(ActionContext context,
ActionConfig actionConfig,
ActionForm actionForm)
Call the
validate() method of the specified form bean,
and return the resulting ActionErrors object. |
Modifier and Type | Method and Description |
---|---|
void |
ScriptAction.saveErrors(javax.servlet.http.HttpServletRequest req,
ActionErrors errs)
Deprecated.
Use saveErrors(HttpServletRequest, ActionMessages) instead.
This will be removed after Struts 1.2.
|
Modifier and Type | Method and Description |
---|---|
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 |
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. |
Copyright © 2000–2016 Apache Software Foundation. All rights reserved.