自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 为对象赋值的测试

  简单案列:   public class ObjectEvaluate{ public static void main(String[]args){ Tank t1=new Tank(); Tank t2=new Tank(); t1.level=9; t2.level=47; System.out.println("1:t1.level="+t1.level+",t2.level=...

2012-09-22 00:37:47 126

原创 log4j.properties

log4j.rootLogger=INFO,A1# \u8f93\u51fa\u5230\u63a7\u5236\u53f0 log4j.appender.A1=org.apache.log4j.ConsoleAppender log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.Conve...

2012-09-21 13:23:36 71

原创 Hibernate的映射文件

<?xml version="1.0" encoding="utf-8"?><!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN""http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"><!-

2012-09-19 22:44:36 70

原创 struts2的配置文件

<!DOCTYPE struts PUBLIC        "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"        "http://struts.apache.org/dtds/struts-2.0.dtd"><struts>     <!-- 设置Web应用的默认编码集为gb...

2012-09-19 22:37:43 56

原创 Hibernate的MySql配置文件

#jdbcjdbc.driverClassName=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql://127.0.0.1:3306/databaseName jdbc.username=rootjdbc.password=root # Hibernate configurationhibernate.dialect=org.hibernate.dialect...

2012-09-19 22:35:00 64

原创 SSH的web配置文件

<?xml version="1.0" encoding="UTF-8"?><web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:

2012-09-19 22:31:30 81

原创 spring的配置文件applicationContext.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" xmlns:aop="http://www.springframework.o

2012-09-19 22:29:49 51

原创 堆栈的简单模拟

public class Stack{ int[] data; int maxSize; int top;  /**初始化*/ public Stack(int maxSize){   this.maxSize=maxSize;   data=new int[maxSize];   top=-1;  }   public boolean push(int data){  if(top+1==max...

2012-09-18 23:01:25 139

原创 冒泡排序的简单案列

public class BoubbleSort{  private static int[] arg =new int[10]; public BoubbleSort(){   arg[0]=10;   arg[1]=3;   arg[2]=16;   arg[3]=44;   arg[4]=53;   arg[5]=55;   arg[6]=23;   arg[7]=83;   arg[8]=...

2012-09-18 22:20:07 79

原创 JDBC调用存储过程的简单案列

DataBase:          create table person(Id int primary key, name char(20),age int);       create or replace procedure myPerson(pid in int,name in char,age in int)     as    begin    insert into...

2012-09-10 18:28:46 78

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除