Told you, we love sharing!
Grails
In this blog Reverse Url Mappings has been used to generate the URL ending with .html, given controller and action names.