摘要: struts2日期类型转换 在Struts2中,一般的内置类型都会在由系统自动进行转换.但是Date类型好像有时候行,有时候不行。比如我这次,本地运行正常,一上测试服务器就不行了。 因此要想保证系统一定要正确第对Date类型进行转换,就要写一个全局的类型转换类,进行Date与String之间的类型转换。 这个转换类是从网上看的:Java代码package com.great.util;import java.text.DateFormat;import java.text.SimpleDateFormat;import java.util.Date;import java.util.Map;i 阅读全文
posted @ 2013-03-17 15:22 wanpp590 阅读(172) 评论(0) 推荐(0) 编辑
摘要: View Code the pages that will be touch:2 5 3 6 2 4 4 3 2 4 3 6 7 5 7 最大的内存页面数:5 FIFO child pid:3311 , my father pid:2 2 5 2 5 3 2 5 3 6 2 5 3 6 2 5 3 6 4 2 5 3 6 4 2 5 3 6 4 2 5 3 6 4 2 5 3 6 4 2 5 3 6 4 2 5 3 6 4 5 3 6 4 7 5 3 6 4 7 5 3 6 4 7 FIFO child end, ming : 9,que : 6.the pages that will be 阅读全文
posted @ 2013-03-17 15:09 wanpp590 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 自动编号:建表时用IDENTITY (SEED,INCREMENT)参数(seed -启始值,increment -增量)alter table user_info add id int Identity(1,1)user_info是表名 id 是要进行自动编号的字段属性名。也可以直接设置:如图 阅读全文
posted @ 2013-03-17 15:03 wanpp590 阅读(184) 评论(0) 推荐(0) 编辑