For example, I want to do the thing from this SO post, but I don't know how, because I don't know what the equivalent for web.xml is in Spring.
http://stackoverflow.com/a/12168063