Json data garbled problem SSM framework

In SpringMVC Controller in return json data garbled problem, because there is no code, only need a simple comment on it

In addition of Produces () in @RequestMapping = "text / html; charset = UTF-8" attribute to, the following:
SPRINGMVC map path disposed encoding format

@RequestMapping(value = "/exceptionInfo",produces={"text/html;charset=UTF-8"})

Guess you like

Origin www.cnblogs.com/xianyao/p/12276011.html