随笔分类 -  AJAX

摘要:JSONArray members = new JSONArray(); PrintWriter out= null; try { out= response.getWriter(); JSONObject member = new JSONObject(); member.put("curpage", cur... 阅读全文
posted @ 2016-11-03 15:41 wujixing909 阅读(133) 评论(0) 推荐(0)
摘要:前台 后台controller 数据库获取数据 阅读全文
posted @ 2016-10-28 10:27 wujixing909 阅读(767) 评论(0) 推荐(0)
摘要:jsp id js赋值 阅读全文
posted @ 2016-10-28 10:11 wujixing909 阅读(8524) 评论(2) 推荐(0)
摘要:text/html;charset=UTF-8 阅读全文
posted @ 2016-10-10 11:06 wujixing909 阅读(1200) 评论(0) 推荐(0)
摘要:如题 阅读全文
posted @ 2016-09-16 11:56 wujixing909 阅读(1916) 评论(0) 推荐(0)
摘要:如题 阅读全文
posted @ 2016-09-14 17:59 wujixing909 阅读(2720) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/linbooooo1987/article/details/7431098 阅读全文
posted @ 2016-09-08 13:19 wujixing909 阅读(138) 评论(0) 推荐(0)
摘要:spring配置文件里添加 阅读全文
posted @ 2016-09-01 16:53 wujixing909 阅读(309) 评论(0) 推荐(0)
摘要:控件里设置: style="font-family:Arial" html里设置 <font face="Arial"> 阅读全文
posted @ 2016-08-26 12:21 wujixing909 阅读(1790) 评论(0) 推荐(0)
摘要:需要两个包 jackson-core-asl, jackson-mapper-asl controller jsp文件 阅读全文
posted @ 2016-08-23 18:49 wujixing909 阅读(251) 评论(0) 推荐(0)
摘要:http://www.cnblogs.com/wx1993/p/4806873.html 阅读全文
posted @ 2016-08-23 17:44 wujixing909 阅读(104) 评论(0) 推荐(0)
摘要:的 阅读全文
posted @ 2016-08-23 13:45 wujixing909 阅读(138) 评论(0) 推荐(0)
摘要:方式一:使用ModelAndView的contentType是"application/json" 方式二:返回String的 contentType是"text/html" 那么如何设置response的content type呢? 使用注解@RequestMapping 中的produces: 阅读全文
posted @ 2016-08-23 13:43 wujixing909 阅读(214) 评论(0) 推荐(0)
摘要:首先在 tomcat的 D:\apache-tomcat-7.0.57\conf\server.xml里添加中文编码 前台处理 后台处理 阅读全文
posted @ 2016-08-19 11:20 wujixing909 阅读(317) 评论(0) 推荐(0)
摘要:第一种getJSON方式: 前台调用: 后台处理 另一种get方式 前台调用 后台处理i 阅读全文
posted @ 2016-08-19 09:28 wujixing909 阅读(7109) 评论(0) 推荐(0)
摘要:Servlet端代码 前端获取 阅读全文
posted @ 2016-08-17 10:06 wujixing909 阅读(206) 评论(0) 推荐(0)
摘要:D 前台获取 阅读全文
posted @ 2016-08-16 14:26 wujixing909 阅读(555) 评论(0) 推荐(0)
摘要:"<a onClick='openwin_searchmodel()' href='searchmodel.action?projectname="+person[i].getElementsByTagName('PjtName')[0].firstChild.data+"'> + </a>" 阅读全文
posted @ 2016-07-28 15:40 wujixing909 阅读(399) 评论(0) 推荐(0)
摘要:register.jsp: validate.jsp: 阅读全文
posted @ 2016-05-11 11:49 wujixing909 阅读(178) 评论(0) 推荐(0)
摘要:AJAX: Asynchronous Javascript and XML 1. 客户端触发异步操作 2. 创建新的XMLHttpRequest, 是重要的js对象,通过它提起对服务器端的请求 3. 与server进行连接 4. 服务器端进行了连接处理 5. 返回包含处理结果的XML文档 6. XM 阅读全文
posted @ 2016-04-27 19:35 wujixing909 阅读(425) 评论(0) 推荐(0)