The goal is to map the com.company.actions.member.ViewAction to
http://company.com/member/view.action
To do this, we need to process the ViewAction class name by extracting
the part before Action and lowercasing the first character.
Don
Ted Husted wrote:
Speaking of ClasspathConfigurationProvider, what is the use case for
this swatch from processActionClass:
if (actionName.length() > 1) {
int lowerPos = actionName.lastIndexOf('/') + 1;
StringBuilder sb = new StringBuilder();
sb.append(actionName.substring(0, lowerPos));
sb.append(Character.toLowerCase(actionName.charAt(lowerPos)));
sb.append(actionName.substring(lowerPos + 1));
actionName = sb.toString();
}
-Ted.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]