I have a URL which has date in the format like "Unable to load rs/Service/Store/Grantor/122/5801/DUE/10/30/2017/ /true?request.preventCache=1562353357306 status: 404" in which 10/30/2017 is a date in the java code it has
@GET
@Path("/dd/{sp}/{rpt}/{ter}/{date}/{grant}/{refresh}")
@Produces(MediaType.APPLICATION_JSON)
public List<ReportPeriodBean> getApprovals(@PathParam("sp") String sp,
@PathParam("rpt") String rpt, @PathParam("ter") String ter,
@PathParam("date") String date,
@PathParam("grant") String grant, @PathParam("refresh") boolean refresh) throws Exception {
How should I allow my URL to go as a right date format and allow controler to take care of the rest is there anyway in spring?