摘要: 序号 方法名 参数 备注 1 length() 无参 返回字符串的长度(包含的字符数) 2 equals(String s) s表示目标字符串对象 如果当前字符串与目标字符串s完全相同,返回true,否则返回false 3 startsWith(String s) 判断当前字符串是否由目标字符串s开 阅读全文
posted @ 2016-09-22 18:07 IT~天空 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 序号 方法 返回类型 说明 1 getName() String 获取文件名称 2 canRead() boolean 判断File是否可读,可读返回true 3 canWrite() boolean 判断File是否可写,可写返回true 4 exists() boolean 判断File是否存在 阅读全文
posted @ 2016-09-22 18:02 IT~天空 阅读(2510) 评论(0) 推荐(0) 编辑
摘要: As we all know,通过设置input type=“submit”,我们可以把form表单中的值通过post方式传递给action所指向的页面。下图中,我们可以把userName,userAge,userSex这三个值传递到xxx.jsp <form action="xxx.jsp" me 阅读全文
posted @ 2016-09-22 17:47 IT~天空 阅读(3306) 评论(0) 推荐(0) 编辑
摘要: <body background="../img/bj3.jpg" > 阅读全文
posted @ 2016-09-22 17:17 IT~天空 阅读(600) 评论(0) 推荐(0) 编辑
摘要: CREATE TABLE student(stuName VARCHAR(30),carId CHAR(7),carPrice INT);studentstudent;//使用SQL添加数据INSERT INTO student(stuName,stuAge,stuAddr)VALUES('小冷', 阅读全文
posted @ 2016-09-22 17:07 IT~天空 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 用户名: 密码: 确认密码: 阅读全文
posted @ 2016-09-22 17:00 IT~天空 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 张三 张a 张b 张c 张d 阅读全文
posted @ 2016-09-22 16:59 IT~天空 阅读(223) 评论(0) 推荐(0) 编辑
摘要: } 阅读全文
posted @ 2016-09-22 16:57 IT~天空 阅读(104) 评论(0) 推荐(0) 编辑