![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
iteye_6685
这个作者很懒,什么都没留下…
展开
-
jdbc class.forName作用 ( 向DriverManager注册自己)
转载 Class aClass = Class.forName(xxx.xx.xx); Object anInstance = aClass.newInstance(); Class.forName("").newInstance()返回的是object but there is some limit for this method to create insta...2007-12-08 14:02:14 · 232 阅读 · 0 评论 -
正则表达式(添如的 必须是 数字)
[code]public boolean isNumeric(String s) { Pattern pattern = Pattern.compile("[0-9]*"); Matcher matcher = pattern.matcher(s); return matcher.matches(); } fu...2007-12-19 15:45:00 · 634 阅读 · 0 评论 -
SmartUpload组件 上传文件
[code]SmartUpload upLoad = new SmartUpload(); //SmartUpload组件 try { upLoad.initialize(getServlet().getServletConfig(),request,response); upLoad.upload(); or upLoad.upload(“。。。”); ...2007-12-19 16:21:01 · 85 阅读 · 0 评论 -
MD5加密
[url]http://h50237.www5.hp.com/iPortal/Template/Publication/Common/OneColumnWithLogo.aspx?PublicationID=71314e53-cc92-4c44-ac50-a7534a2d7ed6[/url][code]MD5 md5=new MD5();md5.getMD5ofStr(。。);[/...2007-12-19 16:32:30 · 110 阅读 · 0 评论