step1
パラメータを受け取るコントローラを作る
object Application extends Controller {
def parameterExample(parameter: String) = Action {
Ok(views.html.index(parameter))
}
}
step2
conf/routes
でURLとControllerをひもづける
GET /example/execute controllers.Application.parameterExample(parameter: String)
step3
実行してURLを叩く
http://localhost:9000/example/execute?parameter=hoge
以上