What is the ideal way to send a date parameter over a GET request in Play Framework?
问题 I am new to Play Framework. I am able to send simple data types like string, integer etc directly via the request and access them in the Back end Java method. When I try doing this in the route file, GET /food/fetchMealInfo/:noOfDays/:dateSelected controllers.trackandplan.FoodController.fetchMealInfo(noOfDays : Integer, dateSelected : Date) I am getting an error saying Compilation error not found: type Date What is the correct, safe and clean way to transfer a date object from a front end