hi all,
i implemented a django-like named group capturing feature in guice
servlet whereas named regex groups would be saved as request
attributes.
example:
serveRegex("/myrest/<name>(.*)/<id>(.*)").with(MySerlvet.class)
this will capture the regexp groups and save the values as 'name' and
'id' request attributes
if you are interested the patch is here:
http://code.google.com/p/guice-maven/source/browse/trunk/guice_servlet_named_group/guice-servlet.patch
please let me know what you think
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice" 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?hl=en
-~----------~----~----~----~------~----~------~--~---