2015年9月19日
摘要: servlet :生成股票ID 和 price 弄成JSON的字符串传给jspJSP 自动刷新(异步请求) 处理JSON字符串servlet:package web;import java.io.IOException;import java.io.PrintWriter;import java.... 阅读全文
posted @ 2015-09-19 16:43 编世界 阅读(582) 评论(0) 推荐(0) 编辑
摘要: Person person2 = new Person(); person2.setName("ls"); person2.setAge(24); person2.setBirthDate(new Date()); List lp = ne... 阅读全文
posted @ 2015-09-19 15:59 编世界 阅读(299) 评论(0) 推荐(0) 编辑
摘要: public static void test1(){ Person person = new Person(); person.setName("zs"); person.setAge(20); JSONObject json = JSONObject.fromObject(perso... 阅读全文
posted @ 2015-09-19 12:30 编世界 阅读(1246) 评论(0) 推荐(0) 编辑