09 2011 档案
在JAVA中使用正则表达式
摘要:String number="^\\+?[1-9][0-9]*$"; //非零的正整数Pattern pu = Pattern.compile(number);Matcher mu =pu.matcher("1");System.out.println("验证非零的正整数:"+mu.matches());得到的结果是:true
阅读全文
HTML Button 背景图片样式作为按钮显示
摘要:效果图:实现代码:<input type="button" class="handcursor" onclick='doLogin()' tabindex="5" style="background:url(<%=contextPath%>/img/eds.jpg); border-style:none; width:124px; height:35px; background-repeat:no-repeat;" />
阅读全文
浙公网安备 33010602011771号