Is it possible for a Spring controller to handle both kind of requests? 1) http://localhost:8080/submit/id/ID123432?logout=true 2) http://localhost:8080/submit/id/ID123432?name=sam&password=543432 If I define a single controller of the kind: @RequestMapping (value = “/submit/id/{id}”, method = RequestMethod.GET, produces=”text/xml”) public String showLoginWindow(@PathVariable(“id”) String id, @RequestParam(value = “logout”, required = false) String logout, @RequestParam(“name”) String username, @RequestParam(“password”) String password, @ModelAttribute(“submitModel”) SubmitModel … Read more