Java spring framework - 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/05/01
15:07 UTC
Read the original article
Hit count: 303
Hi,
I have a spring action that I am rendering some json from the controller, at the minute its returning the content type 'text/plain;charset=ISO-8859-1'.
How can I change this to be 'application/json'?
Thanks Jon
© Stack Overflow or respective owner