Skip to content
Snippets Groups Projects
Commit 99241d8c authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Added text/plain content type support to configuration since it is

returned by some controller methods.
parent f0267d13
No related merge requests found
......@@ -25,6 +25,9 @@
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
<property name="messageConverters">
<list>
<bean class = "org.springframework.http.converter.StringHttpMessageConverter">
<property name="supportedMediaTypes" value = "text/plain;charset=UTF-8" />
</bean>
<bean class="org.springframework.http.converter.json.MappingJackson2HttpMessageConverter" />
</list>
</property>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment