`
v5qqbrowser
  • 浏览: 357318 次
文章分类
社区版块
存档分类
最新评论
文章列表
<iframe align="center" marginwidth="0" marginheight="0" src="http://www.zealware.com/csdnblog336280.html" frameborder="0" width="336" scrolling="no" height="280"></iframe> 上个月转载过,Google收购了DoubleClick,现在M$也有动作 ...
public Object deepClone() { //将对象写到流里 ByteArrayOutoutStream bo=new ByteArrayOutputStream(); ObjectOutputStream oo=new ObjectOutputStream(bo); oo.writeObject(this); //从流里读出来 ByteArrayInputStream bi=new ByteArrayInputStream(bo.toByteArray()); ObjectInputStream oi=new ObjectInputStream(bi ...
很多人在进行数据迁移时,希望把数据导入不同于原系统的表空间,在导入之后却往往发现,数据被导入了原表空间。本例举例说明解决这个问题:1.如果缺省的用户具有DBA权限那么导入时会按照原来的位置导入数据,即导入到原表空间$ imp bjbbs/passwd file=bj_bbs.dmp fromuser=jive touser=bjbbs grants=n Import: Release 8.1.7.4.0 - Production on Mon Sep 22 11:49:41 2003 (c) Copyright 2000 Oracle Corporation. All rights ...
// 匹配“/” /t 匹配TAB /n 匹配换行符 /r 匹配回车符 [abc] a,b,c都可以匹配 [^abc] 除了a,b,c以外的任何字符 [a-z A-Z] a-z A-Z 的所有字符 [a-z [bc]]除了bc的a-z的所有字符 等于[ad-z] /d 匹配0-9 /D 不匹配0-9 等于[^0-9] /s 匹配一个空白字符 /S 等于/s /w 匹配一个字 等于[a-z A-Z 0-9] /W 等于[^/w]
需要导入的JAR包commons-httpclient-3.1.jar,commons-codec-1.3.jar,commons-logging.jar,commons-fileupload-1.0.jar 模拟客户端 publicclasshttpclient{ privatestaticStringurl="http://localhost:9000/httpclient/servlet/httpserver"; publicstaticvoidmain(String[]args)throwsIOException{ HttpClient clie ...
Spring 标记库分类如下:  1、spring:hasBindErrors   2、spring:bind   3、spring:transform   4、spring:message   5、spring:htmlEscape   6、spring:theme   下面我们来具体介绍一下用法:  1、spring:hasBindErrors   对应org.springframework.web.servlet.tags.BindErrorsTag标记库处理类。  这个标记提供用于绑定对象的errors,如果这个标记被用到的话,那么关于这个对象的错误将在页面上显示出来。使用这个标记的前提 ...
内容摘要: 在PL/SQL开发过程中,使用SQL,PL/SQL可以实现大部份的需求,但是在某些特殊的情况下,在PL/SQL中使用标准的SQL语句或DML语句不能实现自己的需求,比如需要动态建表或某个不确定的操作需要动态执行。这就需要使用 ...
<?xmlversion='1.0'encoding='UTF-8'?><!DOCTYPElog4j:configurationSYSTEM"log4j.dtd"><log4j:configurationxmlns:log4j="http://jakarta.apache.org/log4j/"><!--%c输出日志信息所属的类的全名%d输出日志时间点的日期或时间,默认格式为ISO8601,也可以在其后指定格式,比如:%d{yyy-MM-ddHH:mm:ss},输出类似:2002-10-18-22:10: ...
为了mount局域网上的某个机器的windows共享目录,却发现在FC5中找不到smbmount,mount -t smbfs也不认了,提示的错误信息如下:mount -t smbfs -o username=xxx,password=xxx //hostname/dir /mnt/tmpmount: unknown filesystem type 'smbfs'原来在FC5中已经不再支持smbfs了,而改用了Common Internet File Systemcifs(cifs)取代了原有的smbfs,所以命令就改为:mount -t cifs -o username=xxx,passwor ...
本算法要解决的问题是离散对数问题(discrete logarithm problem,DLP)。问题的描述如下: G是一个乘法循环群,其中有一个元素h,且其生成元为g。要求求得一个x,使得h=gx。 对于这样一个问题,有如下的几种情况考虑: 如果我们 ...
首先声明一下,我的系统是FC5。 几天前,为了打开yahoo邮箱的测试版本,不得已使用yum将firefox从1.5.0.1升级到1.5.0.8,结果遇到一个更加郁闷的事情,firefox在打开163,gmail和yahoo邮箱的时候都提示: 不预期的服务器回应 Firefox 不知道如何与服务器通讯。 * 请检查您的系统安装了个人安全管理程序。 * 这可能是因为服务器端非标准的配置所导致。 这个问题是因为通过yum安装的firefox不是官方发布的版本,有些动态库没有包括进去。有两个解决办法: 1.卸载这个版本的firefox,回到原来的版本或者去官方站点下载一个安装包重新安装。 ...
laTeX是linux下面不可多得的文档编写软件,但是其中文环境的配置着实让我头痛了很长一段时间,幸好最近把这个问题解决了。 首先,我的操作系统是Fedora Core 5,在安装操作系统的时候请选择上teTeX,它包含了很多有用的包, ...
遗传算法介绍: 遗传算法使用计算机程序来模拟生物的进化过程,形象的来说,就是通过“繁殖”、“变异”,“竞争”以及自然选择来得到问题的最优解。 遗传算法的基本结构如下: t=0;initialize(p(t));//找出原始解集evaluate(p(t));//评估解集中是否有最优解while(notterminationcondition)dopp(t)=parent_select(p(t));//
Barrett Reduction is a method of reducing a number modulo another number. Barrett reduction, when used to reduce a single number, is slower than a normal divide algorithm. However, by precomputing some values, one can easily far exceed the speed of normal modular reductions. Because Barrett reducti ...
Global site tag (gtag.js) - Google Analytics