摘要: 名为dbInfo的properties文件的配置: driver = com.mysql.jdbc.Driverurl = jdbc:mysql://localhost:3306/myusername = rootpassword = 1993zl DBUtil类: import java.sql. 阅读全文
posted @ 2018-03-22 15:58 小明珠 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1.border: border-width:边框的宽度 border-color:边框的颜色 boeder-style:边框的线型 border-top:上边框 border-bottom:下边框 border-left:左边框 border-right:右边框 2.padding(代表边框内壁与 阅读全文
posted @ 2018-03-20 09:53 小明珠 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 静止状态:a:link{css属性} 悬浮状态 a:hover{css属性} 触发状态 a:active{css属性} 完成状态 a:visited{css属性} 阅读全文
posted @ 2018-03-20 09:36 小明珠 阅读(2529) 评论(0) 推荐(0) 编辑
摘要: 1,查询工作和工资完全与MARTIN相同的员工 select * from emp where (job,sal)in (select * from emp where ename=’MARTIN’) 2.查询有俩个以上直接下属的员工信息 select mgr, count(mrg) from em 阅读全文
posted @ 2018-03-19 22:23 小明珠 阅读(84) 评论(0) 推荐(0) 编辑
摘要: //将数组中的数从小到大排列 public static void main(String[] args) { int[] arr =new int[3]; arr[0] = 2; arr[1] = 3; arr[2] = 1; int temp = 0; for(int i=0;i<arr.len 阅读全文
posted @ 2017-09-25 13:43 小明珠 阅读(80) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head><meta charset="UTF-8"><title>Insert title here</title><script src="../jquery-1.8.3.js"></script></head><body> <input type=" 阅读全文
posted @ 2017-08-21 15:21 小明珠 阅读(100) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head><meta charset="UTF-8"><title>可见性过滤</title><script src="./jquery-1.8.3.js"></script></head><body> <input type="button" value 阅读全文
posted @ 2017-08-21 10:11 小明珠 阅读(167) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head><meta charset="UTF-8"><title>Insert title here</title></head><body> 恭喜您,注册成功,在<span id="second" style="color:red;">5</span> 阅读全文
posted @ 2017-08-18 14:39 小明珠 阅读(239) 评论(0) 推荐(0) 编辑
摘要: <input id="taskId" type="hidden" name="taskId" value="${taskId} "/> <input type="checkbox" group="ids" class="checkboxCtrl">全选 <c:forEach items="${tas 阅读全文
posted @ 2017-08-16 11:12 小明珠 阅读(854) 评论(0) 推荐(0) 编辑
摘要: //将以前的数据放在外层循环,若为false,则删除 for(int i=0;i<taskIdBefore.size();i++){ boolean isHas = false; for(int j=0;j<taskIdNow.size();j++){ if(taskIdBefore.get(i)! 阅读全文
posted @ 2017-08-16 11:04 小明珠 阅读(857) 评论(0) 推荐(0) 编辑