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.taglib | |
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. |
Modifier and Type | Method and Description |
---|---|
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. |
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. |
Modifier and Type | Method and Description |
---|---|
protected void |
Action.saveErrors(javax.servlet.http.HttpServletRequest request,
ActionErrors errors)
Deprecated.
Use saveErrors(HttpServletRequest, ActionMessages) instead.
This will be removed after Struts 1.2.
|
Constructor and Description |
---|
ActionErrors(ActionErrors messages)
Create an
ActionErrors object initialized with the given
messages. |
Modifier and Type | Method and Description |
---|---|
ActionErrors |
TagUtils.getActionErrors(javax.servlet.jsp.PageContext pageContext,
java.lang.String paramName)
Deprecated.
Use getActionMessages() instead. This will be removed
after Struts 1.2.
|
Modifier and Type | Method and Description |
---|---|
static ActionErrors |
RequestUtils.getActionErrors(javax.servlet.jsp.PageContext pageContext,
java.lang.String paramName)
Deprecated.
Use
TagUtils.getActionErrors(PageContext,String) 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-2014 - The Apache Software Foundation