progs/Application0.scala
changeset 105 40c51038c9e4
parent 103 bd6e45c7aa8d
child 161 a0aebea668f9
equal deleted inserted replaced
104:729b86eae005 105:40c51038c9e4
     8 object Application extends Controller {
     8 object Application extends Controller {
     9 
     9 
    10   // answering a GET request
    10   // answering a GET request
    11   val index = Action { request =>
    11   val index = Action { request =>
    12 
    12 
    13     Ok("Hello world!")
    13     Ok("<H1>Hello world!</H1>").as(HTML)
    14   }  
    14   }  
    15   
    15   
    16 }
    16 }
    17 
    17 
    18 /*
    18 /*