摘要: 1. jsp代码 : 1 <Script> 2 function changeImg(){ 3 document.getElementById("certImg").src ="makeCertPic.jsp?it="+Math.random(); /* +Math.random() */ 4 } 阅读全文
posted @ 2016-08-19 11:04 _万古如长夜 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 1.当有其他字符出现时,返回的数组长度>1 String s = "3 6\\5656"; Pattern pattern = Pattern.compile("[^0-9-]+"); String[] ss = pattern.split(s); System.out.println(ss.len 阅读全文
posted @ 2016-08-19 09:59 _万古如长夜 阅读(5355) 评论(0) 推荐(1) 编辑