03 2015 档案

摘要:1 package gys; 2 3 public class ExpetionTest { 4 public static void main(String[] args) { 5 NumberCheck n=new NumberCheck(); 6 t... 阅读全文
posted @ 2015-03-27 15:19 思思博士 阅读(870) 评论(0) 推荐(0) 编辑
摘要:1 2 6 7 8 9 10 "> 11 获取表头信息12 13 14 enumer=request.getHeaderNames();16 int count=0;17 while(enumer.hasMoreElement... 阅读全文
posted @ 2015-03-26 21:59 思思博士 阅读(1001) 评论(0) 推荐(0) 编辑
摘要:web.xml 1 2 6 7 8 9 /WEB-INF10 /WEB-INF/mytag.tld11 12 13 mytag.tld 1 2 3 1.0 4 1.1 5... 阅读全文
posted @ 2015-03-26 11:51 思思博士 阅读(2029) 评论(1) 推荐(0) 编辑
摘要:1.标签(Tag):标签是一种XML元素,通过标签可以使JSP网页变得简洁并且易于维护,还可以方便地实现同一个JSP文件支持多种语言版本。由于标签是XML元素,所以它的名称和属性都是大小写敏感的2.标签库(Taglibrary):由一系列功能相似、逻辑上互相联系的标签构成的集合称为标签库。3.标签库... 阅读全文
posted @ 2015-03-26 11:34 思思博士 阅读(1855) 评论(0) 推荐(0) 编辑
摘要:jsp代码: 大家好:我叫,今年岁 欢饮访问本页,你什么信息都看不到,哈哈 访问路劲: 阅读全文
posted @ 2015-03-24 23:07 思思博士 阅读(522) 评论(0) 推荐(0) 编辑
摘要:Login.jsp:1 /login.do" method="post">2 username:3 password:4 5 web.xml 1 2 7 8 9 action10 org.apach... 阅读全文
posted @ 2015-03-19 11:06 思思博士 阅读(227) 评论(0) 推荐(0) 编辑
摘要:web.xml (添加init-param) 1 2 7 8 9 This is the description of my J2EE component10 This is the display name of my J2EE component11 Ge... 阅读全文
posted @ 2015-03-18 21:42 思思博士 阅读(765) 评论(0) 推荐(0) 编辑
摘要:Users.java 1 package com.po; 2 3 public class Users { 4 private String username; 5 private String password; 6 7 public Users(){}; 8 ... 阅读全文
posted @ 2015-03-18 21:13 思思博士 阅读(269) 评论(0) 推荐(0) 编辑
摘要:index.jsp: 1 2 6 7 8 9 10 ">11 12 My JSP 'index.jsp' starting page13 14 15 16 17 18 19 20 21 第... 阅读全文
posted @ 2015-03-17 14:13 思思博士 阅读(198) 评论(0) 推荐(0) 编辑
摘要:数据库:包文件:Student.java 1 package com.model; 2 3 public class Student { 4 private int id; 5 private String name; 6 private int age; 7 pr... 阅读全文
posted @ 2015-03-16 09:12 思思博士 阅读(777) 评论(0) 推荐(0) 编辑
摘要:属性文件:SqlMap.properties1 driver=com.mysql.jdbc.Driver2 url=jdbc:mysql://localhost:3306/ibatis3 username=root4 password=gysSqlMapconfig.xml ... 阅读全文
posted @ 2015-03-15 21:30 思思博士 阅读(3178) 评论(12) 推荐(0) 编辑
摘要:index.html:con.html ok了. 阅读全文
posted @ 2015-03-11 11:42 思思博士 阅读(457) 评论(6) 推荐(0) 编辑

点击右上角即可分享
微信分享提示