03 2015 档案
摘要:1 package gys; 2 3 public class ExpetionTest { 4 public static void main(String[] args) { 5 NumberCheck n=new NumberCheck(); 6 t...
阅读全文
摘要:1 2 6 7 8 9 10 "> 11 获取表头信息12 13 14 enumer=request.getHeaderNames();16 int count=0;17 while(enumer.hasMoreElement...
阅读全文
摘要: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...
阅读全文
摘要:1.标签(Tag):标签是一种XML元素,通过标签可以使JSP网页变得简洁并且易于维护,还可以方便地实现同一个JSP文件支持多种语言版本。由于标签是XML元素,所以它的名称和属性都是大小写敏感的2.标签库(Taglibrary):由一系列功能相似、逻辑上互相联系的标签构成的集合称为标签库。3.标签库...
阅读全文
摘要:jsp代码: 大家好:我叫,今年岁 欢饮访问本页,你什么信息都看不到,哈哈 访问路劲:
阅读全文
摘要:Login.jsp:1 /login.do" method="post">2 username:3 password:4 5 web.xml 1 2 7 8 9 action10 org.apach...
阅读全文
摘要: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...
阅读全文
摘要:Users.java 1 package com.po; 2 3 public class Users { 4 private String username; 5 private String password; 6 7 public Users(){}; 8 ...
阅读全文
摘要: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 第...
阅读全文
摘要:数据库:包文件: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...
阅读全文
摘要:属性文件:SqlMap.properties1 driver=com.mysql.jdbc.Driver2 url=jdbc:mysql://localhost:3306/ibatis3 username=root4 password=gysSqlMapconfig.xml ...
阅读全文
摘要:index.html:con.html ok了.
阅读全文