05 2018 档案
摘要:win7系统下或者64位系统下,安装完mysql-connector-odbc驱动后,直接进入:管理工具--数据源(ODBC),点击添加不显示该驱动,该问题解决如下:进入dos命令行,输入:C:\Users\Administrator>cd\windows\SysWOW64C:\windows\Sy
阅读全文
摘要:http://blog.csdn.net/lsyz0021/article/details/52064829 当我们使用github或者bitbucket等仓库时我们有可能需要ssh认证,所以需要生成他的ssh key。 1、首先你要安装Git工具 下载地址:https://git-scm.com/
阅读全文
摘要:xml配置了下面标签:<context:property-placeholder location="classpath:xxx.properties" /> 用spring的@Value注解 @Value(value="#{redis.url}") private String url = "";
阅读全文
摘要:Spring MVC异常处理SimpleMappingExceptionResolver【转】 (2012-12-07 13:45:33) 转载▼ Spring MVC异常处理SimpleMappingExceptionResolver【转】 转载▼ 标签: 杂谈 分类: 技术分享 杂谈 Sprin
阅读全文
摘要:fastjson生成JSON字符串的时候出现$ref 转载自:http://wuzhuti.cn/201426!826!05!130202.html 可以通过选项 DisableCircularReferenceDetect来禁止循环引用检测: JSON.toJSONString( yourObje
阅读全文
摘要:// pom.xml <!-- druid --> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.0.15</version> </dependency> // spring
阅读全文
摘要:// js代码 function User(){ //类成员的定义及构造函数 this.name = "hello"; this.age = 25; this.sayHello = function (){ console.log("here is class1"); }} // html页面 <s
阅读全文
摘要:前言: 下面两行代码都是创建一个数组对象myArray:var myArray=[];//等价于var myArray=new Array();同样,下面的两段代码也都是创建一个函数myFunction:function myFunction(a,b){ return a+b;}//等价于var m
阅读全文
摘要:// js代码 var user = { name:'tom', say:function(){ console.log("hello"); } } // html页面代码 <script type="text/javascript" > user.age = 25;//给user添加属性 user
阅读全文
摘要:// js代码 function class1(){ } // html页面代码 <script type="text/javascript"> // 知识点一:对对象属性方法进行操作 /*var cla1 = new class1(); cla1.name = 'jack';//给对象添加属性 c
阅读全文
摘要:// js代码 function class1(){ //类成员的定义及构造函数 this.name = "hello"; this.age = 25; this.sayHello = function (){ console.log("here is class1"); }} // html页面
阅读全文
摘要:<script type="text/javascript"> function func1(fn){ if(typeof(fn)=="function"){ console.log("3 function"); fn(); }else{ console.log(fn); console.log("
阅读全文
摘要:今天一位同事碰到了这个问题,相互讨论了下,记录下备忘 方法一: 1.使用JSON.stringify 将数组对象转化成json字符串; 2.传输过程中参数 3.后台处理 方法二: 1.前端不做处理: 2.传输过程中参数 3.后台处理 注:两种post请求的content-type不同。 来源:htt
阅读全文
摘要:设置方法如下: 1、单击IDE顶部Window菜单下的Prefences,如图; 2、在打开对话框的左侧树上,找到Java节点下的Editor中的Mark Occurren,如图; 3、点击Mark Occurren,然后在右侧面板中 会发现Mark occurrences of the...一行文
阅读全文
摘要:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o
阅读全文
摘要:<select id="s_province" name="s_province" class="s_province"></select> $(function(){ //方法一 $("[name='s_province']").one("click",function() { }); //方法二
阅读全文