- 博客(17)
- 收藏
- 关注
原创 1121学习记录 urlPatterns同包内不允许重复,且不能缺少/
html>lang="en"> charset="UTF-8"> Title action="register.action" method="post"> 用户名:type="text" name="username"> 密码:type="password" name="pass"> 确认密码:type="passw
2016-11-21 13:14:22 233
原创 1117学习记录 servlet中文分页
package com.neuedu.servlet;import javax.servlet.ServletException;import javax.servlet.annotation.WebServlet;import javax.servlet.http.HttpServlet;import javax.servlet.http.HttpServletRequest;imp
2016-11-17 17:08:14 254
原创 1116学习记录 右下角悬浮框
HTML>charset="utf-8">无标题文档#div1 {width:200px; height:150px; background:red; position:absolute; right:0; bottom:0;}body {height:2000px;}window.onscroll=window.onresize=function (){ var s
2016-11-16 17:03:50 323
原创 1116学习记录 简单练车模型
HTML>charset="utf-8">无标题文档#div1 {width:30px; height:20px; background:red; position:absolute; top:150px; left:50px;}#div2 {width:2px; height: 500px; background-color: blue;position: absolute;lef
2016-11-16 10:53:00 370
原创 1115学习记录 无缝滚动
HTML>charset="utf-8">无标题文档* {margin:0; padding:0;}#div1 {width:712px; height:108px; margin:100px auto; position:relative; background:red; overflow:hidden;}#div1 ul {position:absolute; left:0;
2016-11-15 16:15:45 137
原创 1115学习记录 拖拽继承与封装
HTML>charset="utf-8">无标题文档#div1 {width:200px; height:200px; background:yellow; position:absolute;}#div2 {width:200px; height:200px; background:green; position:absolute;}src="Drag.js">src="Li
2016-11-15 11:14:21 205
原创 1111学习记录 点坐标follow
HTML>charset="utf-8">无标题文档div {width:10px; height:10px; background:black; position:absolute;}function getPos(ev){ var scrollTop=document.documentElement.scrollTop||document.body.scrollTop
2016-11-11 16:51:06 172
原创 1111学习记录 js事件冒泡
HTML>charset="utf-8">无标题文档#div1 {width:400px; height:300px; background:#CCC; display:none;}window.onload=function (){// var oBtn=document.getElementById('btn1');// var oDiv=document.getEle
2016-11-11 15:09:46 213
原创 1111光棍节学习记录
HTML>charset="utf-8">无标题文档window.onload=function (){ var oTab=document.getElementById('tab1'); var oBtn=document.getElementById('btn1'); var oName=document.getElementById('name');
2016-11-11 11:44:21 182
原创 1109学习记录 java script 基础知识实例
HTML>charset="utf-8">wocaowindow.onload = function(){ var oBtn1 = document.getElementById('btn1'); var oBtn2 = document.getElementById('btn2'); var oBtn3 = document.getElementById('
2016-11-09 15:57:25 373
原创 1103学习记录 html学习
My Trip Around the USA on a Segway Segway'n USA Documenting my trip around the US on my very own Segway! August 20, 2012 src="images/segway2.jpg"> Well I
2016-11-03 15:40:29 291
原创 1102学习记录 扑克牌类实现
package com.company;import java.util.Arrays;/** * Created by ttc on 16-11-2. */public class Poker{ Card[] card = null; String[] color = {"红桃","黑桃","方片","梅花"}; int[] value = {1,2,3,
2016-11-02 15:47:58 249
原创 1101学习记录!!!一定切记,executeUpdate后面括号中不要添加strSql
package com.company;import java.sql.*;/** * Created by ttc on 16-11-1. */public class Insert{ public static void insertUser(UserInfo ui) throws ClassNotFoundException, SQLException {
2016-11-01 13:33:46 1231
原创 1031 封装connection和close
package com.company;import java.sql.*;/** * Created by ttc on 16-10-31. */public class DbUtils{ //连接url public static String strUrl= "jdbc:oracle:thin:@localhost:1521:orcl"; static
2016-10-31 17:05:47 244
原创 1031学习记录
package com.company;import java.sql.*;public class Main { public static void DelEmp(int deptno) throws ClassNotFoundException, SQLException { Connection con = DbUtils.GetConnec
2016-10-31 17:02:14 162
原创 1031学习记录 形参列表使用class进行封装
package com.company;/** * Created by ttc on 16-10-31. */public class Dept{ int nDept; String strDeptName; String strDeptLoc; public int getnDept() { return nDept;
2016-10-31 17:00:12 239
原创 1027学习记录
package com.company;import java.util.*;public class Main{ public static void main(String[] args) { System.out.println("请输入一段英文语句"); Scanner sc = new Scanner(System.in);
2016-10-28 16:03:12 147
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人