@Retention(value=RUNTIME) @Target(value=METHOD) public @interface ValidationErrorPageForward
ValidationException. ValidationInterceptor
will invoke the forwarderMethod()
and the returned result name will be used forward the request.
The value for forwarderMethod()
must follow certain rules as follows
(a) It must be a valid method name
(b) Method must exist in the same or parent class.
(c) Method should be public
(d) Method should always return a String value
(e) The returning string value must be a valid result name
(f) Method signature should not contain parameter.
e.g.
| Modifier and Type | Required Element and Description |
|---|---|
String |
forwarderMethod |
public abstract String forwarderMethod
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.