少林

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2016年5月16日

摘要: <!--JSTL中替换\r\n--> <c:set var="projectDetails" value="${message}"></c:set> <% request.setAttribute("vEnter", "\\r\\n");//用\转义 %> ${fn:replace(projectD 阅读全文
posted @ 2016-05-16 16:21 Stanley_yu 阅读(430) 评论(0) 推荐(0) 编辑

2016年2月25日

摘要: $.ajax({ url : "positionFinds.action", dataType : "json", data : "depar.id="+deptId, type : "post", success : function(data, status) { //后台返回positions 阅读全文
posted @ 2016-02-25 15:13 Stanley_yu 阅读(2645) 评论(0) 推荐(0) 编辑

2016年2月22日

摘要: package com.platform.common.web.servlet; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servl 阅读全文
posted @ 2016-02-22 17:36 Stanley_yu 阅读(1536) 评论(0) 推荐(0) 编辑

摘要: <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/> 阅读全文
posted @ 2016-02-22 17:17 Stanley_yu 阅读(513) 评论(0) 推荐(0) 编辑

摘要: encodeURIComponent(string) 不会对一些特殊字符进行编码,如&^%*# 推荐使用这种方式 实例:================== var name = '机构&资本事业部'; //将该字符串传到后台,前台:encodeURI(encodeURI(name)) //后台:U 阅读全文
posted @ 2016-02-22 15:13 Stanley_yu 阅读(197) 评论(0) 推荐(0) 编辑

2016年2月18日

摘要: 处理方法一: js 程序代码:url=encodeURI(url);注意是整个URL 服务器端的代码:String linename = new String(request.getParameter("name").getBytes("ISO-8859-1"),"UTF-8"); 处理方法二: j 阅读全文
posted @ 2016-02-18 15:56 Stanley_yu 阅读(491) 评论(0) 推荐(0) 编辑

摘要: function deptDialog(name){ $("#deptDialog").dialog({ title: name, width: 700, height: 450, modal: true, resizable: true, toolbar:[{ text:'新增部门', iconC 阅读全文
posted @ 2016-02-18 14:34 Stanley_yu 阅读(1860) 评论(0) 推荐(0) 编辑

2016年2月17日

摘要: 1)关键字:background-position: top left; 2)像素:background-position: 0px 0px; 3)百分比:background-position: 0% 0%; http://www.ruanyifeng.com/blog/2008/05/css_b 阅读全文
posted @ 2016-02-17 15:59 Stanley_yu 阅读(261) 评论(0) 推荐(0) 编辑

2016年2月1日

摘要: .tp-loader { background: url(../assets/loader.gif) no-repeat 10px 10px; background-color: #fff; margin: -22px -22px; top: 50%; left: 50%; z-index: 100 阅读全文
posted @ 2016-02-01 18:31 Stanley_yu 阅读(572) 评论(0) 推荐(0) 编辑

摘要: http://developer.51cto.com/art/201601/504712.htm 阅读全文
posted @ 2016-02-01 18:25 Stanley_yu 阅读(161) 评论(0) 推荐(0) 编辑