Added content negotiation and MarshallingView to petclinic
This commit is contained in:
parent
fae0110536
commit
f5e5fc1662
|
|
@ -64,8 +64,9 @@
|
|||
<entry key="atom" value="#{vets.contentType}"/>
|
||||
</map>
|
||||
</property>
|
||||
<property name="viewResolvers">
|
||||
<list>
|
||||
<property name="order" value="0"/>
|
||||
</bean>
|
||||
|
||||
<!--
|
||||
- The BeanNameViewResolver is used to pick up the visits view name (below).
|
||||
- It has the order property set to 2, which means that this will
|
||||
|
|
@ -82,11 +83,6 @@
|
|||
-->
|
||||
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver" p:prefix="/WEB-INF/jsp/"
|
||||
p:suffix=".jsp" p:order="2"/>
|
||||
</list>
|
||||
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
|
||||
<!--
|
||||
- The AtomView rendering a Atom feed of the visits
|
||||
|
|
|
|||
Loading…
Reference in New Issue