improve spring-mvc support