摘要: 开发环境: OS:windows XP Web Server: jakarta-tomcat-5.0.28 DataBase Server: MS SQL Server 2000 (打了SP3补丁) IDE: MyEclipse 6.0.1 测试案例系统结构: web层Service层DAO层 web层就是Struts2,DAO使用hibernate -3.3.1.GA-dist.zip,spring是spring-framework-2.5.5 数据库表和它一样吧: student1和Student2,表结构相同:id,name,address.其中id为主键且为自增长型. st... 阅读全文
posted @ 2014-04-12 10:54 锐洋智能 阅读(428) 评论(0) 推荐(0) 编辑
摘要: String.format("%010d", 25);0代表前面要补的字符10代表字符串长度d表示参数为整数类型String s = "Hello World!";int i = 13 ;double d = 88.8 ;System.out.printf("整形数据i = %2$+-10d \n字符串 s = %1$s \n浮点数据 d = %3$3.2f", s , i , d);System.out.printf("\n不足10为用0来补:%10d" , i);九九乘法表[java] for(inti=1;i 阅读全文
posted @ 2014-04-12 09:50 锐洋智能 阅读(4927) 评论(0) 推荐(0) 编辑