Play静态文件调用

conf.routes文件下添加:

Map static resources from the /public folder to the /assets URL path

GET /assets/*file controllers.Assets.at(path="/public", file)
即可使用/assets/来引用public目录下的文件

原文地址:https://www.cnblogs.com/realsoul/p/6095095.html