摘要:
数据源配置时加上编码转换格式后出问题了:The reference to entity "characterEncoding" must end with the ';' delimiter这个错误就是 context.xml中设置数据源链接URL的问题 url jdbc:mysql://loca... 阅读全文
摘要:
第一种是比较常规的方法思路:1.构建一个新的数组存放结果2.for循环中每次从原数组中取出一个元素,用这个元素循环与结果数组对比3.若结果数组中没有该元素,则存到结果数组中Array.prototype.unique1 = function(){ var res = [this[0]]; for(v... 阅读全文