I am writing application on playframework. I have a search form and I want to send POST request and be able to accept it in my controller, how this is possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There Many samples for it, First Add a method login in your Application (or whatever) controller.
Lets assume your posting login details for your controller.
In your conf/routes file add
Assuming you have a index.html in your app/views/Application folder.
From the Html Page: