![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
json
z294286540
这个作者很懒,什么都没留下…
展开
-
Request method 'GET' not supported
Tomcat 报错信息如下:HTTP Status 405 - Request method 'GET' not supportedtype Status reportmessage Request method 'GET' not supporteddescription The specified HTTP method is not allowed for the re原创 2012-06-22 17:46:14 · 40183 阅读 · 0 评论 -
在控制器查看json方式及查看json格式的方法
使用如下的方法可以在控制器里就查看json,看是否是自己需要的json ObjectMapper obj = new ObjectMapper(); String json=""; try { json = obj.writeValueAsString(acMap);//acMap为你要转化为json的东西,可以是一对象,也可以是一列表,也可以是一Map } catch原创 2012-07-30 10:00:25 · 2630 阅读 · 1 评论