You will get here different ways of defining play routing. Following are the details :
GET / controllers.Application.index
GET /simple controllers.Application.simple
GET /client/:id controllers.Application.clientId(id:Int)
GET /user/:name controllers.Application.userName(name)
GET /files/*name controllers.Application.file(name)
GET /items/$id<[0-5]+> controllers.Application.items(id: Long)
GET /show/:page controllers.Application.showFromPath(page)
GET /show controllers.Application.showFromQueryString(page)
GET /showfix controllers.Application.showFix(page = "home")
GET /clients controllers.Application.clientList(page: Int ?= 1)
GET /list controllers.Application.list(dept : Option[Int])
###To run the application :
- Clone the project
- activator run