In SpringMVC, how can I give LiteDeviceDelegatingViewResolver an order value?

110 Views Asked by At

In our SpringMVC based website, we want to use the LiteDeviceDelegatingViewResolver.

We already have a couple of other ViewResolvers configured and we want the LiteDeviceDelegatingViewResolver to take precedence over those.

However the LiteDeviceDelegatingViewResolver does not implement the Ordered interface, hence I cannot set an order value on it. It seems Spring uses these values to chain ViewResolvers. Is there another way to make LiteDeviceDelegatingViewResolver take precedence over the other ViewResolvers we have configured?

Thanks.

0

There are 0 best solutions below