![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JSON相关
trymore_
这个作者很懒,什么都没留下…
展开
-
在extjs 的grid中显示 Date格式的内容
java里面时间类型转换成json数据就成这样啦 Js代码 "modifyTime":{"date":30,"day":3,"hours":15,"minutes":14,"month":3,"nanos":0,"seconds":38, "time":1209539678000,"timezoneOffset":-480,"year":108}转载 2011-12-26 19:18:39 · 2122 阅读 · 0 评论 -
JSON数据的中文乱码问题
问题描述:在firefox中返回的JSON数据没有出现乱码,但在GridPanel中显示乱码,而jsp页面和xml文件都是utf-8类型。解决方案:在 PrintWriter out = response.getWriter(); 语句前使用response.setContentType("text/json; charset=utf-8");response.setC原创 2011-12-26 19:10:56 · 4594 阅读 · 0 评论 -
为Extjs 树提供数据的递归算法
(转自:http://emlyn1180.iteye.com/blog/315334 )首先先建立Node模型 public class Node { private int id; private int parentId; Node(){} Node(int id,int parentId){ this.id=id; this.parentId = pare转载 2012-02-11 16:13:51 · 544 阅读 · 0 评论 -
问题:getInputStream() has already been called for this request
问题描述:2012-4-6 22:25:42 org.apache.catalina.core.StandardWrapperValve invoke严重: Servlet.service() for servlet default threw exceptionjava.lang.IllegalStateException: getInputStream() has already原创 2012-04-07 08:33:40 · 3745 阅读 · 0 评论