2017年7月19日

一个Student类,覆盖equals()方法

摘要: public class Student{ private String cardID;//身份证 private String name;//姓名 public boolean equals( Object obj ){ if( obj == null ){ return false; } if( 阅读全文

posted @ 2017-07-19 10:10 全力以赴002 阅读(282) 评论(0) 推荐(0)

2017年6月23日

mybatis简单配置

摘要: <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd 阅读全文

posted @ 2017-06-23 11:23 全力以赴002 阅读(139) 评论(0) 推荐(0)

spring与mybatis的简单整合xml文件

摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 阅读全文

posted @ 2017-06-23 09:40 全力以赴002 阅读(202) 评论(0) 推荐(0)

2017年6月22日

springMVC前端控制器配置

摘要: <?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:sch 阅读全文

posted @ 2017-06-22 10:19 全力以赴002 阅读(659) 评论(0) 推荐(0)

web.xml的版本

摘要: 2.5版本 <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com 阅读全文

posted @ 2017-06-22 10:15 全力以赴002 阅读(204) 评论(0) 推荐(0)

2017年5月25日

jsp的九大内置对象、struts2的web.xml的配置(注册过滤器)

摘要: request、response、application、session、out、pagecontext、page、config、exception 查看:http://blog.csdn.net/sona_shi555/article/details/7797068 struts2的web.xml 阅读全文

posted @ 2017-05-25 10:31 全力以赴002 阅读(159) 评论(0) 推荐(0)

2017年5月23日

java正则表达式

摘要: 查看:http://www.cnblogs.com/lzq198754/p/5780340.html 阅读全文

posted @ 2017-05-23 10:17 全力以赴002 阅读(100) 评论(0) 推荐(0)

2017年5月8日

多线程

摘要: 查看:http://lavasoft.blog.51cto.com/62575/27069 01.你可以通过两种途径定义和初始化一个线程:(1)扩展java.lang.Thread类;该方法一般重叠(override)run()方法,当然你也可以重载该方法,但是重载的run方法将不会被系统(自动)调 阅读全文

posted @ 2017-05-08 16:35 全力以赴002 阅读(102) 评论(0) 推荐(0)

Inner类

摘要: 查看:http://blog.csdn.net/a1259109679/article/details/48156407 阅读全文

posted @ 2017-05-08 10:14 全力以赴002 阅读(74) 评论(0) 推荐(0)

对象与集合

摘要: 1 . equals(),hashCode(),toString() 方法前的访问修饰符都是public;如下形式的重叠是非法的如:classBoo { public boolean equals(Boo b) { } }//因为该方法改变了equals方法的参数(本来应该是对象类型(objectb 阅读全文

posted @ 2017-05-08 09:53 全力以赴002 阅读(283) 评论(0) 推荐(0)

导航