Announcement Announcement Module
Collapse
No announcement yet.
Spring web Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring web

    The request sent by the client was syntactically incorrect ().

    here is my method signature

    @PreAuthorize("hasPermission(#userId, 'User', 'editUser')")
    @RequestMapping(value="/settings/{userId}/edit/myAccount", method=RequestMethod.POST)
    public String updateMyAccount(@PathVariable("id") int userId, @ModelAttribute("user") User user, BindingResult result, WebRequest req, final ModelMap theModel){

    ....
    ...

    }

    and the url sent when I submit the form.

    https://localhost/settings/35843/edit/myAccount
    plz help me with this..
Working...
X