上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页
摘要: jquery,字符串转json对象,json对象转字符串 字符串转json对象 方法一:var json = eval('(' + str + ')'); 方法二:return JSON.parse(str); json对象转字符串 JSON.stringify(jsonobj); //可以将jso 阅读全文
posted @ 2019-12-04 10:48 就是你baby 阅读(1931) 评论(0) 推荐(0) 编辑
摘要: 当用$.ajax()向后台提交参数时,如果参数中数组的话一般在后台会用List,或Integer[] 等数组对象进行接收. 比如: $.ajax({ type: "POST", url: url, data:{ gender:[0,1] }, dataType: "json", async:fals 阅读全文
posted @ 2019-11-28 15:29 就是你baby 阅读(2910) 评论(0) 推荐(0) 编辑
摘要: Sql Server中实现Mysql中的group_concat函数效果 SELECT oi.*, stuff((select ','+convert(varchar(25), GuestName) FROM guest g WHERE g.ordersn = oi.OrderSN AND oi.I 阅读全文
posted @ 2019-08-15 15:01 就是你baby 阅读(6471) 评论(0) 推荐(0) 编辑
摘要: 作为一个更为复杂的示例,正则表达式B[an]*s匹配下述字符串中的任何一个:Bananas,Baaaaas,Bs,以及以B开始、以s结束、并在其中包含任意数目a或n字符的任何其他字符串。 以下是可用于随REGEXP操作符的表的模式。 应用示例,查找用户表中Email格式错误的用户记录: ? 1 2 阅读全文
posted @ 2019-07-24 10:05 就是你baby 阅读(20517) 评论(0) 推荐(1) 编辑
摘要: /** * 使用CablleStatement调用存储过程 * @author APPle * */ public class Demo1 { /** * 调用带有输入参数的存储过程 * CALL pro_findById(4); */ @Test public void test1(){ Conn 阅读全文
posted @ 2019-07-24 09:53 就是你baby 阅读(1341) 评论(0) 推荐(0) 编辑
摘要: <script language="javascript"> String.prototype.trim=function(){ return this.replace(/(^\s*)|(\s*$)/g, ""); } String.prototype.ltrim=function(){ retur 阅读全文
posted @ 2018-12-25 10:35 就是你baby 阅读(5703) 评论(0) 推荐(0) 编辑
摘要: jsp中常用操作字符串的el表达式 由于在JSP页面中显示数据时,经常需要对显示的字符串进行处理,SUN公司针对于一些常见处理定义了一套EL函数库供开发者使用。准备工作:1)导入jar包:standard.jar和jstl.jar2)在页面中使用JSTL定义的EL函数:<%@ taglib uri= 阅读全文
posted @ 2018-09-13 16:25 就是你baby 阅读(1944) 评论(0) 推荐(0) 编辑
摘要: 3.清除定时器 阅读全文
posted @ 2018-08-22 09:50 就是你baby 阅读(5350) 评论(0) 推荐(0) 编辑
摘要: import javax.script.ScriptEngine;import javax.script.ScriptEngineManager;import javax.script.ScriptException; public class CalculationTest { /** * @pa 阅读全文
posted @ 2018-08-17 16:13 就是你baby 阅读(603) 评论(0) 推荐(0) 编辑
摘要: <select id="selectSelective" resultMap="xxx" parameterType="xxx"> select <include refid="Base_Column_List"/> from xxx where del_flag=0 <choose> <when 阅读全文
posted @ 2018-08-16 19:08 就是你baby 阅读(787) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 下一页