Comment #3 on issue 405 by peter.hausel: guice servlet: capturing parts of
the URIs
http://code.google.com/p/google-guice/issues/detail?id=405
I do not think this would break existing code.
if there was not any regexp group found (or the feature is not implemented
yet ie for
normal web.xml matching), then
Map<String,Object> map =
patternMatcher.getPatternWithNamedGroups(request.getServletPath());
+ if ( map != null) {
+ for (Map.Entry<String,Object> entry: map.entrySet()) {
+ request.setAttribute(entry.getKey(),entry.getValue());
+ }
+ }
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---