Learning Play !
Learning Play !
散关清渭 发表于3年前
Learning Play !
  • 发表于 3年前
  • 阅读 24
  • 收藏 0
  • 点赞 0
  • 评论 0

腾讯云 新注册用户 域名抢购1元起>>>   

摘要: Reading from http://www.playframework.com/documentation/2.3.x/ScalaActions

Most of the requests received by a Play application are handled by an Action.

Controller is nothing more than a singleton object that generates Actionvalues.

use an empty Action implementation defined as TODO ‘Not implemented yet’ result page:


conf/routes is the configuration file used by the router.

Each route consists of an HTTP method and URI pattern, both associated with a call to an Action generator.


Each route starts with the HTTP method, followed by the URI pattern , Call definition.









标签: Scala Play
共有 人打赏支持
粉丝 24
博文 159
码字总数 166498
×
散关清渭
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: