From Documentation

matches - String[]

An array of matches. Each element of the array represents a group of the matched pattern. The first element represents the entire pattern. In fact, each element is the return value of

This method is useful if you'd like to group the request's URI into several patterns. For example, the action could be defined as follows.

<action path="/([^]*)/.*" class="foo.${matches[1]}.Action">

Version History

Last Update : 2011/03/14

Version Date Content

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.