getXYZ() methods for its attributes.
anything", a method "getAnything()" will
be tried to invoke on the object.
int are
wrapped into the correspondent object types (e.g. java.lang.Integer).
javax.servlet.http.HttpServletRequest objects.
pattern:, request: or session: prefixes are specified:
xyz Gets the request parameter called xyz.pattern:xyz Gets all the request parameters that match with the
pattern "xyz" (java.util.regex.Pattern).
request:xyz Gets the request attribute called xyz.session:xyz Gets the session attribute called xyz.xyz Gets a single-valued parameter named xyz
as a String object.
If more than one value for this parameter exists in the request, only the first of
them is returned.
xyz[] Gets a multivalued parameter named xyz,
in the form of a String array.
pattern:xyz[]".
This resolver is mainly used in Map-iterating validations.
java.util.Map.Entry objects.
key" and "value",
which will respectively return the key and the value of the map entry.
java.util.Map objects.
anything" will result in calling "get(anything)"
on the Map object.
java.lang.Object).
value",
which will return the target object itself.
| Config parameter | Type | Required | Default value | Description |
|---|---|---|---|---|
| className | java.lang.String | No | java.lang.Object | Class of the objects that are to be set as targets of the resolver, for validating their type when target is set. |