is it possible to use InternalResourceViewResolver and BeanNameViewResolver together in the same web app?
I mean InternalResourceViewResolver to resolve my jsp.
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver" p:prefix="/WEB-INF/jsp/" p:suffix=".jsp"/>
and instead BeanNameViewResolver to resolve my excel (I need to pass the url).
Bye.
Thanks
Yes, you can combine multiple resolvers. Spring iterates over them and uses the first resolver which is able to resolve the given name. You can also set the
orderproperty in resolvers to specify the order of iteration.