Is there default catch all route to new actions in Play 2?
问题 In Play 1, new actions you defined had a default route. * /{controller}/{action} {controller}.{action} (This appeared by default in new projects) What is the Play 2/2.1 equivalent? Why doesn't it appear in the default routes file? 回答1: Actually there is a catch-all route available. According to the routing doc in Play 2.0+ you can use Dynamic parts spanning several / so if you put it as exactly last route of given method it will catch every route that wasn't catch before. You can use this for