Posting code in Posterous
What a pain in the arse.
In the end the only way I could manage to post XML code properly was to set up a github account (I don't know why I didn't already have one), add a gist, and post a link to that.
What a pain in the arse.
In the end the only way I could manage to post XML code properly was to set up a github account (I don't know why I didn't already have one), add a gist, and post a link to that.
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...