using Spring 1.1.3. for org.springframework.web.servlet.view.ViewResolver
Ordering of view resolvers seems to be based on their id, so I've got one view resolver called aardvarkViewResolver currently so it fires first.Code:* <p>Note: When chaining ViewResolvers, a UrlBasedViewResolver always needs * to be last, as it will attempt to resolve any view name, no matter whether * the underlying resource actually exists.
Can the Spring team add the Ordered interface into the mix in how view resolvers get called? or alternatively can the order in which view resolvers are defined in the spring config file determine their order?
I've tried swapping the order in which view resolvers are defined in the Spring config file and it doesn't seem to make any difference.


Reply With Quote
