04 2015 档案

linux shell数组
摘要:from: http://www.jb51.net/article/34322.htmbash shell只支持一维数组,但参数个数没有限制。声明一个数组:declare -a array(其实不用声明,按数组方式直接赋值给变量即可,BASH就知道那是数组)数组赋值:(1) array=(var1 ... 阅读全文

posted @ 2015-04-24 23:56 deodara 阅读(533) 评论(0) 推荐(0)

tomcat连接池配置和使用
摘要:一种方法是在conf/context.xml文件中配置,配置oracle连接池的一个例子的context内容如下: WEB-INF/web.xml 代码中使用如下,其中lookup()中字符串与context.xml中Resource name相对应: 1 import javax.nam... 阅读全文

posted @ 2015-04-17 14:32 deodara 阅读(265) 评论(0) 推荐(0)

导航