Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ViewResolver with wildcards [SPR-6937] #11602
http://blog.newsplore.com/2010/02/23/spring-mvc-3-0-rest-rebuttal describes this issue: There is a controller that returns domain objects but no view name. Depending on the URL the objects should be rendered in different formats. So URL like /users/rss/* have to be mapped to some view. DefaultRequestToViewNameTranslator translates the URL to a view name - but there is no way to use wildcards in any of the existing ViewResolvers. So I suggest to improve the BeanNameViewResolver for example to support wildcards.
Affects: 3.0 GA, 3.0.1