SpringMVC-router - 支持静态内容和REST存储库

时间:2013-10-23 22:04:17

标签: spring-mvc router

我正在尝试使用springmvc-router(https://github.com/resthub/springmvc-router),因为我无法在当前项目中使用play,并且希望路由更好地组织。

我有几个问题:

  1. 播放支持使用staticDirstaticFile进行静态内容路由 - 使用springmvc-router时的替代方法是什么?

  2. 我正在使用Spring数据JPA REST存储库,并试图弄清楚它们应该如何映射以替换存储库中的@RestResource(path = "roles", rel = "roles")注释。

  3. 有没有人有想法?

    谢谢, -N

0 个答案:

没有答案
相关问题