1

We can configure more than one view resolver in Spring application context xml file. Suppose, I have configured InternalResourceViewResolver,TilesViewResolver and XmlViewResolver in my spring application context file. If a request comes for a view named "abc", which view resolver DispatcherServlet choose to resolve this View? What happens,If "abc" view can be resolved by more than one view resolver?

4

1 に答える 1

0

公式ドキュメントでは、これについて詳しく説明しています。それぞれに、どのリゾルバーが優先されるかを示すViewResolverオプションのプロパティがあります。order

于 2013-09-21T17:10:36.147 に答える