摘要:Using AES with Java Technology Using AES with Java Technology By Rags SrinivasJune 2003 In September 2000, the National Institute of Standards and Tec
阅读全文
摘要:importjava.text.DecimalFormat; publicclassTestNumberFormat{ publicstaticvoidmain(String[]args){ doublepi=3.1415927; //圆周率 //取一位整数 System.out.println(n
阅读全文
摘要:sql中用LTRIM ( ),RTRIM ( )。分别截断首尾空格,返回字符表达式。 例1: DECLARE @string_to_trim varchar(60)SET @string_to_trim = ' Four spaces are after the period in this sen
阅读全文
摘要:工作需要,所以做了个抽奖转盘的插件,当然这里只做最简单的演示。 机制说明: 1、通过定义lottery-unit来控制节点的个数及索引; 2、通过设置lottery.crcle来定义需要转动的基本次数,在这个次数内,定时器的时间间隔不断递减,知道某个具体的数值; 3、当外界设置了lottery.pr
阅读全文
摘要:1、先下载axis jar包:axis-bin-1_4.zip。下载地址: http://ws.Apache.org/axis/。 当然这个包其实是不全面的,像activation.jar之类的,完全的Lib会在附件里提供。 2、解压好后,将webapps目录下的axis拷贝到tomcat_home
阅读全文