According to documentation:
A play application has several entry points, one for each URL. We call these methods 'action' methods. Action methods are defined in special classes that we call 'controllers'
For running Play Framework applications with Intellij Idea tools you need to download and install Scala
plugin.
Then press the down arrow in you right top corner -> Edit Configurations -> + -> Play 2 App -> select play module
You can run you play-app via command line executing play run
under the application root directory.
Userful resources:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.