Consider the following mapping:
@RequestMapping(value = \"/superDuperPage\", method = RequestMethod.GET) public String superDuperPage(@RequestParam(value = \"som
You can do this with Spring 4.1 onwards and Java 8 by leveraging the Optional type. In your example that would mean your @RequestParam String will have now type of Optional.
String
Optional
Take a look at this article for an example showcasing this feature.