Loading
 
What's Next: View All Tutorial →

Error 400 - The request sent by the client was syntactically incorrect

The Error 400 - "The request sent by the client was syntactically incorrect" issue will occur if the request mapping structure is wrong Possible Resons 1:   @RequestMapping(value = {"city/{cityNm}"}) public ...

Published Date: 19/04/2015  Last Modified Date: 19/04/2015    New Post



The Error 400 - "The request sent by the client was syntactically incorrect" issue will occur if the request mapping structure is wrong

Possible Resons 1:
 

    @RequestMapping(value = {"city/{cityNm}"})
    public String fetchCompanyCategoryDetailsByIdorName( ModelMap map) {
    }
Here the path variable not added.

Possible Reason 2:
 
 @RequestMapping(value = {"city"})
    public String fetchCompanyCategoryDetailsByIdorName( ModelMap map,  @PahVariable String catNavUrl) {
}

Here the path variable is additionally defined when the request mapping does not have declaration
Awaiting for Administrator approval





Tags: Issue and Solutions Spring MVC

← Back to list


Related Post




×