摘要: copy地址:http://blog.csdn.net/luanlouis/article/details/40422941 阅读全文
posted @ 2017-03-20 11:30 stt_spring 阅读(139) 评论(0) 推荐(0) 编辑
摘要: require.js 阅读全文
posted @ 2017-03-16 11:39 stt_spring 阅读(138) 评论(0) 推荐(0) 编辑
摘要: select username,sid,serial# from v$sessionselect count(*) from v$session;alter system kill session'16,10493' immediate; 阅读全文
posted @ 2015-07-22 18:10 stt_spring 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 在JBoss7.1目录jboss-as-7.1.1.Final/standalone/configuration下找到standalone.xml,找到以下的节点,在尝试了以下两种方法: 1. 把127.0.0.1这台机器的真实IP或者域名我尝试用这种方法不成功,第二种方法是我推荐的2.在第一点... 阅读全文
posted @ 2015-06-19 18:37 stt_spring 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 1、Thread和runnable2、servlet生命周期3、同步异步4、j2se和j2ee5、设计模式。。。。待续 阅读全文
posted @ 2015-06-18 18:34 stt_spring 阅读(153) 评论(0) 推荐(0) 编辑
摘要: //第一种GetLength=function(str){varrealLength=0;for(vari=0;i=0&&charCode<=128)realLength+=1;elserealLength+=2;}returnrealLength;}//第二种(采取将255意外的字符替换成"aa"... 阅读全文
posted @ 2015-06-17 11:59 stt_spring 阅读(1544) 评论(0) 推荐(1) 编辑
摘要: 四个抽象类:InputStream OutputStream (字节) Reader Writer (字符)import java.io.*;public class Test{public static void main(String args[]) throws Exception{FileOutputStream fos=new FileOutputStream("d:/007/a.txt");FileInputStream fis=new FileInputStream("d:/007/b.txt");int a=-1;while((a... 阅读全文
posted @ 2013-03-14 21:03 stt_spring 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 一、Map的keySet方法可拿到Map中所有的key,返回值是Set类型,set有iterator方法可以拿到迭代器,再利用map.get(key)这个方法迭代出里面的内容。例如:import java.util.*;public class Test{public static void main(String args[]){Map<String,Integer> map=new HashMap<String,Integer>();map.put("一",12);map.put("二",13);map.put("三 阅读全文
posted @ 2013-03-08 22:48 stt_spring 阅读(151) 评论(0) 推荐(0) 编辑
摘要: import java.util.*;public class Test{ public static void main(String args[]){ List<Person> list=new ArrayList<Person>(); list.add(new Person("jack",21)); list.add(new Person("rose",18)); list.add(new Person("tom",19)); list.add(new Person("spring", 阅读全文
posted @ 2013-03-08 21:35 stt_spring 阅读(119) 评论(0) 推荐(0) 编辑
摘要: import java.util.*;public class Test{ public static void main(String args[]){ List<Person> list=new ArrayList<Person>(); list.add(new Person("jack",21)); list.add(new Person("rose",18)); list.add(new Person("tom",19)); list.add(new Person("spring", 阅读全文
posted @ 2013-03-08 20:35 stt_spring 阅读(239) 评论(0) 推荐(0) 编辑