Play! framework - handle a POST request
问题 this is the route to handle the login POST request: POST /login/submit controllers.Users.loginSubmit(user : String, password : String) this is the login.scala.html: <form method="post" action="???"> <input type="text" name="username" /><br/> <input type="password" name="password" /><br/> <input type="submit" value="Login" /> </form> I got two questions: what should be the value of action? is it "login/submit"? how do you pass this form to be handled in the loginSubmit function? thanks 回答1: If