Java spring framwork - how to set content type?
Posted
by Jon morgan
on Stack Overflow
See other posts from Stack Overflow
or by Jon morgan
Published on 2010-04-09T08:30:08Z
Indexed on
2010/04/09
8:33 UTC
Read the original article
Hit count: 434
java
|spring-mvc
Hi,
I have a spring action that I am rendering some json from the controller, at the minute its returning the contnet-type 'text/plain;charset=ISO-8859-1'.
How can I change this to be 'application/json'?
Thanks Jon
© Stack Overflow or respective owner