摘要: ##在velocity模板中起注释作用,字符串里含有##时,字符串后面的字符串将会不显示 阅读全文
posted @ 2012-02-17 17:15 狼里格朗 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 1、实例:存储过程ALTER PROCEDURE [dbo].[UP_GetRecordByPage2005] @tblName varchar(255), -- 表名 @fldName varchar(255), -- 主键字段名 @selectField nvarchar(1000),--- 查询字段 @PageSize int = 10, -- 页尺寸 @PageIndex int = 1, -- 页码 @orderWhere nvarchar(200), -- 设置排序条件 @strWhere nvarchar(1000) = '', -- 查询条件 (注意: 不要加 阅读全文
posted @ 2012-02-17 14:24 狼里格朗 阅读(136) 评论(0) 推荐(0) 编辑
摘要: BufferedImage bufTarget = null; GetImage(srcPath,width,height); double sx = (double) width / bufImage.getWidth(); double sy = (double) height / bufImage.getHeight(); int type = bufImage.getType(); if(type == BufferedImage.TYPE_CUSTOM){ ColorModel cm = bufImage.getColorModel(); Wr... 阅读全文
posted @ 2012-02-17 14:15 狼里格朗 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 到tomcatbincd/optaoxingapps_for_test/apache-tomcat-6.0.20/bin关闭tomcat./shutdown.sh重启tomcat./nohup_start.sh查看重启状态tail-fnohup.out查看进场psuax强制闭关进程kill-s9pid1. 查看时间和日期命令 : "date"2.设置时间和日期例如:将系统日期设定成2009年11月3日的命令命令 : "date -s 11/03/2009"将系统时间设定成下午5点55分55秒的命令命令 : "date -s 17:55:55&q 阅读全文
posted @ 2012-02-17 12:00 狼里格朗 阅读(137) 评论(0) 推荐(0) 编辑