Added content negotiation and MarshallingView to petclinic

This commit is contained in:
Arjen Poutsma 2009-02-06 16:12:13 +00:00
parent fae0110536
commit f5e5fc1662
1 changed files with 17 additions and 21 deletions

View File

@ -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