Spring JSON and JSP servlet configuration

Since I've spent the past few days trying to perfect a configuration to serve some simple jsp pages while also serving JSON to enable me to add REST support and an Android front end at some point, I thought I'd post it here. Its not much good on its own to be honest, you'll still need to annotate your controllers correctly and put your jsp in /WEB-INF/jsp/.  Maybe I'll post such a controller soon...