2009-10-29 18:14
protected static String xmlToString(org.w3c.dom.Document xmlDoc){
String xmlString = null;
Transformer transformer;
try {
transformer = TransformerFactory.newInstance().newTransformer();
transformer.setOutputProperty(OutputKeys.INDENT, "yes");
StreamResult result = new StreamResult(new StringWriter());
DOMSource source = new DOMSource(xmlDoc);
transformer.transform(source, result);
xmlString = result.getWriter().toString();
xmlString = xmlStrin |
2009-10-29 18:12
2009-10-26 15:41
The use of linguistic analysis to get to the root form of a word. Search engines that use stemming compare the root forms of the search terms to the documents in its database. For example, if the user enters "v |
2009-10-13 10:54
Refer: http://websphere.sys-con.com/node/43292
Are you confident that your site works correctly for someone using a text-to-speech browser that vocalizes Web page text? For someone using a device that instantly translates Web page text into Braille? For someone using a special device or software (such as voice recognition software) for navigation and input?
If not, you are taking two serious risks:
|
2009-10-10 11:12
转载: http://www.blogjava.net/crespo9907/archive/2007/04/01/107791.html
It was about 1 year ago that Coalesys released the first WebMenu 2.0 beta. At that time we began demonstrating a technique for overlaying windowed controls in Internet Explorer.
In case you don't already know, windowed controls in IE will always cover DHT |
2009-06-17 15:57
2009-06-09 11:02
http://xkr.us/articles/javascript//encode-compare/
When encoding a URL, a character may not be available on the keyboard. Other times, the character of a URL might not be usable in contexts where it may conflict with a reserved character. In either case, the character can be encoded with a % followed by its ASCII hexadecimal equivalent cod |
2009-05-25 16:55
Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response.
1 Informational 1xx
This class of status code indicates a provisional response, consisting only of the Status-Line and optional headers, and is terminated by an empty line. There are no required headers for this class of status code. Since HTTP/1.0 did not define any 1xx status codes, servers MUST NOT se |
2009-04-24 10:33
就像电话簿提供个人和机构电话信息服务一样,Active Directory 提供了这样一种目录服务,它可存储和方便地访问所有联网资源(如计算机、打印机、用户、共享文件夹、消息队列等)的有关信息。
Active Directory 在网络环境中起着接线总机的作用。它帮助用户和应用程序查找并访问这些联网的资源,使它们相互连接起来。更为重要的是,它能确保只有获得授权的用户或应用程序才能安全地访问这些资源。
像 Duwamish Online |
2009-04-13 15:14
软件模块之间总是存在着一定的接口,从调用方式上,可以把他们分为三类:同步调用、回调和异步调用。同步调用是一种阻塞式调用,调用方要等待对方执行完毕才返回,它是一种单向调用;回调是一种双向调用模式,也就是说,被调用方在接口被调用时也会调用对方的接口;异步调用是一种类似消息或事件的机制,不过它的调用方向刚好相反,接口的服务在收到某种讯息或发生某种事件时,会主动通知客户方(即调用客户方的接口)。回调和异步调用的关系非常紧密,通常我们使用回调来实现异步消息的注册,通过异步调用来实现消息的通知。同步调用是 |
2009-04-10 10:45
"The problem for engineers is that change translates into chaos, especially when a single error can potentially bring down an entire system. But, change also translates into opportunity. It's as simple as this: if there is time to put a certain amount of functionality into the product easily, then there is time to put in more functionality at the price of a certain amount of disruption and risk. Thus does madness creep into our projects - we will tend to take on as much risk as we |
2009-03-26 16:03
1. get是从服务器上获取数据,post是向服务器传送数据。
2. get是把参数数据队列加到提交表单的ACTION属性所指的URL中,值和表单内各个字段一一对应,在URL中可以看到。post是通过HTTP post机制,将表单内各个字段与其内容放置在HTML HEADER内一起传送到ACTION属性所指的URL地址。用户看不到这个过程。
3. 对于get方式,服务器端用Request.QueryString获取变量的值,对于post方式,服务器端用Request.Form获取提交的数据。
4. get传送的数据量较小,不能大于2KB。post传送的数据量较大,一般被默认为不受限制。但理论上 |
2009-03-17 17:19
RSS是RDF Site Summary 的缩写(RDF是Resource Description Framework的缩写),是指将网站摘要用xml语言描述。
也许大家是第一次听到RSS这个概念,那什么是RSS呢?RSS是站点用来和其他站点之间共享内容的一种简易方式(也叫聚合内容),通常被用于新闻和其他按顺序排列的网站,例如Blog。说得更加简单一点,RSS就是一种用来分发和汇集网页内容的XML |
2009-03-03 13:51
打开电源启动机器几乎是电脑爱好者每天必做的事情,面对屏幕上出现的一幅幅启动画面,我们一点儿也不会感到陌生,但是,计算机在显示这些启动画面时都做了些什么工作呢?相信有的朋友还不是很清楚,本文就来介绍一下从打开电源到出现Windows的蓝天白云时,计算机到底都干了些什么事情。
首先让我们来了解一些基本概念。第一个是大家非常熟悉的BIOS(基本输入输出系统),BIOS是直接与硬件打交道的底层代码,它为操作系统提供了控制硬件设备的基本功能。BIOS包括有系统BIOS(即常说的主板BIOS)、显卡BIOS和其它设备(例如 |
2008-12-09 21:39
(1)jvm的装载过程以及装载原理
所谓装载就是寻找一个类或是一个接口的二进制形式并用该二进制形式来构造代表这个类或是这个接口的class对象的过程,
其中类或接口的名称是给定了的。当然名称也可以通过计算得到,但是更常见的是通过搜索源代码经过编译器编译后所得到
的二进制形式来构造。 在Java中,类装载器把一个类装入Java虚拟机中,要经过三个步骤来完成:装载、链接和初始化,
其中链接又可以分成校验、准备和解析三步,除了解析外,其它步骤是严格按照顺序完成的,各个步骤的主要工作如下:
|
|
|
iamqianhh
男, 26岁
北京 海淀区
上次登录: 2天前
加为好友
|