Open 67726e opened 9 years ago
Instead of attempting to create a straight-up implementation of Play's generate routes
package, it might be an idea to create a version of JSP's <c:url>
, e.g. @Route("/path/to/resource")
returns "/Spring-MVC-Twirl/path/to/resource
.
Functions like
Messages
androutes.Assets.at()
are heavily used. Implementing some way to mimic these with Spring MVC would allow a more seamless transition between the two frameworks.