Here's another approach to followup my earlier reply.
ActionMappings could be extended so that if an exact match was not
found, and the path contained interior slashes, it would start trimming
the "directories" from right to left. So given /package/action/info it
would first try
/package/action/info
if no match was found, before returning, it would try
/package/action
if that matched, it would update the mapping with the "info" and return
normally.
The info could either be placed in the existing "parameters" property,
or ActionMapping could be extended with an "extra" property. Besides
getExtra(), there might also be getExtraCount and getExtras() methods to
help retrieve multiple parameters.
(Which also suggests that maybe we should have getParameterCount() and
getParameters() methods so that the parameter property could
conveniently store more than one parameter.)
-T.