Does play framework server have a rewrite_mode functionality like apache?
That is: how can play generate url like:
domain/controller/action/etc... and not
domain/controller.jsp? etc....
Thanks.
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.
The routes file handles the incoming request URL and translates that URL into an Action that is executed.
If you do not specify a route in your controller, it is automatically picked up by the “catch-all” route, which translates to
For more information, the Play documentation has a very clear summary of how the route file functions.
http://www.playframework.org/documentation/1.2.2/routes