Multiple views are perfectly possible.
Considering the HTML:
<select id="attr1" name="attr1">
<option value="1">A</option>
<option value="2">B</option>
</select>
Then the controller method should be:
@RequestMapping(value = "/aaa", method = RequestMethod.POST)
public ModelAndView methodName(@RequestParam(value = "attr1") int attribute) {
if (attribute == 1) {
return new ModelAndView("view1");
}
else if (attribute == 2) {
return new ModelAndView("view2");
}
else {
return null; // Empty 200 OK just to be sure if other attr is received
}
}