67726e / Spring-MVC-Twirl

Twirl templates for Spring MVC
MIT License
7 stars 1 forks source link

Provide Implementations of Common Play/Twirl Interfaces #1

Open 67726e opened 9 years ago

67726e commented 9 years ago

Functions like Messages and routes.Assets.at() are heavily used. Implementing some way to mimic these with Spring MVC would allow a more seamless transition between the two frameworks.

67726e commented 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.