Specifies a URL pattern for idempotent requests.
sun-web-app (sun-web.xml)
none
The following table describes attributes for the idempotent-url-pattern element.
Table A–50 idempotent-url-pattern Attributes
Attribute |
Default |
Description |
---|---|---|
none |
Specifies a URL pattern, which can contain wildcards. The URL pattern must conform to the mappings specified in section SRV 11.2 of the Servlet 2.4 specification. |
|
-1 |
(optional) Specifies the number of times the load balancer retries an idempotent request. A value of -1 indicates infinite retries. |
The following example specifies that all requests for the URI sun-java/* are idempotent.
<idempotent-url-pattern url-pattern="sun_java/*" no-of-retries="10"/>