摘要:
1.字符串的split()方法分解字符串为数组时,字符串尾部的空字符串不会被包括在生成的数组内.如:String abc="a,b,c,"; String[] abcArr=abc.split(","); 得到的字符串数组为{"a","b","c"} 阅读全文
摘要:
1.如何在一个线程的任何地方(即其他层)获取 HttpServletRequestIn every request, theDispatcherServletbinds the currentHttpServletRequestto astatic ThreadLocalobject in theR... 阅读全文