摘要: 背景:项目中经常遇到同一服务器下不能数据库之间数据操作查询或者不同服务器下数据之间的操作查询,这里总结下要点 1,不同服务器之间数据库之间访问数据,执行下列命令,即可当前服务器建立访问目标数据库服务器: exec sp_addlinkedserver '访问名称', ' ', 'SQLOLEDB', 阅读全文
posted @ 2018-02-09 09:54 it小将1992 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 背景:公司最近开发得碧海项目,有个工程管理模块,希望能够看到项目进展,用于管理进度。开发这个功能有很多方法,比如第三方工具,百科上有介绍。本项目是一个web项目,希望在线编辑。首先看了jquery ui的,但功能不够强大。况且公司已购买kendo ui,因此便使用了该框架。由于没有中文api,网上使 阅读全文
posted @ 2018-02-06 11:01 it小将1992 阅读(565) 评论(0) 推荐(0) 编辑
摘要: Date currentTime = new Date(); SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String dateString = formatter.format(currentT 阅读全文
posted @ 2016-08-13 09:52 it小将1992 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 1,javascript 设置<a>的值 document.getElementById("myId").setAttribute("href","www.xxx.com"); document.getElementById("myId").href = "www.xxx.com"; 2,js 设置 阅读全文
posted @ 2016-08-05 13:38 it小将1992 阅读(223) 评论(0) 推荐(0) 编辑
摘要: (1)typeof用法 typeof的运算数未定义,返回的就是 "undefined". 运算数为数字 typeof(x) = "number" 字符串 typeof(x) = "string" 布尔值 typeof(x) = "boolean" 对象,数组 和null typeof(x) = "o 阅读全文
posted @ 2016-08-04 14:44 it小将1992 阅读(1262) 评论(0) 推荐(0) 编辑
摘要: 第一种: 第一种: 复制代码代码如下: <script language="javascript" type="text/javascript"> window.location.href="login.jsp?backurl="+window.location.href; </script> 第二 阅读全文
posted @ 2016-08-04 10:04 it小将1992 阅读(1127) 评论(0) 推荐(0) 编辑
摘要: js怎么获得li的value? <li id="a" value="1">A</li><li id="a" value="2">b</li><li id="a" value="3">b</li><li id="a" value="4">sd</li><li id="a" value="5"> 阅读全文
posted @ 2016-08-03 20:19 it小将1992 阅读(995) 评论(0) 推荐(0) 编辑
摘要: @RequestMapping(value = "/destinationEdit") public String DestinationEdit(Integer id) { HttpServletRequest req = ((ServletRequestAttributes) RequestCo 阅读全文
posted @ 2016-07-08 15:19 it小将1992 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 1,文件的硬盘存储路径(文件存放在服务器的根目录,而不是项目,防止服务器重启,资源丢失) 得到项目的名字:如,renli String path1 = request.getContextPath(); path1=path1.substring(1); 得到项目的绝对路径:如,F:\apache- 阅读全文
posted @ 2016-07-07 22:52 it小将1992 阅读(223) 评论(0) 推荐(0) 编辑
摘要: <Resource name="jdbc/renli" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="root" password="" driv 阅读全文
posted @ 2016-07-07 21:16 it小将1992 阅读(265) 评论(0) 推荐(0) 编辑