上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 40 下一页
摘要: centos 6 使用的是 rsyslog 而 centos5 使用 syslog ,兩個不同版本使用軟體不同。因此,你得要修訂 /etc/rsyslog.conf 才行!軟體也變成 /etc/init.d/rsyslog! 阅读全文
posted @ 2014-10-13 23:40 wuhn 阅读(2091) 评论(0) 推荐(0) 编辑
摘要: 什么是 daemon 与服务 (service)Linux Daemon (守护进程)是运行在后台的一种特殊进程。它独立于控制终端并且周期性地执行某种任务或等待处理某些事件。它不需要用户输入就能运行并且提供某种服 务,不是对整个系统就是对某个用户程序提供服务。 Linux 系统的大多数服务器就是通过... 阅读全文
posted @ 2014-10-13 23:30 wuhn 阅读(689) 评论(0) 推荐(0) 编辑
摘要: HTML5的标题HTML5的内容!Hello我是用记事本写的,保存后在网页上运行竟然出现了乱码。换成GB2312能正确显示中文。HTML5的标题HTML5的内容!Hello但是毕竟标准不一样。还是要用Utf-8。最后发现代码没有一点问题,问题就出记事本身上。 只是告诉浏览器要用utf-8来解释,而文... 阅读全文
posted @ 2014-10-12 18:54 wuhn 阅读(534) 评论(0) 推荐(0) 编辑
摘要: java跟python类似的做法,在java中字符串的编码是java修改过的一种Unicode编码,所以看到java中的字符串,心理要默念这个东西是java修改过的一种Unicode编码的编码。package string;import java.nio.charset.Charset;public... 阅读全文
posted @ 2014-10-12 18:30 wuhn 阅读(28709) 评论(0) 推荐(0) 编辑
摘要: In order to check XML data for validity we have to prepare its schema XSD-file. This file will be loaded by a JAXP package to a Schema objects instanc... 阅读全文
posted @ 2014-10-12 17:57 wuhn 阅读(282) 评论(0) 推荐(0) 编辑
摘要: The SAX and DOM APIs are defined by the XML-DEV group and by the W3C, respectively. The libraries that define those APIs are as follows:javax.xml.pars... 阅读全文
posted @ 2014-10-12 17:50 wuhn 阅读(122) 评论(0) 推荐(0) 编辑
摘要: The Java API for XML Processing (JAXP) is for processing XML data using applications written in the Java programming language. JAXP leverages the pars... 阅读全文
posted @ 2014-10-12 17:43 wuhn 阅读(116) 评论(0) 推荐(0) 编辑
摘要: Configure Java APIs (SAX, DOM, dom4j, XOM) using JAXP 1.3 to validate XML Documents with DTD and Schema(s).Many Java XML APIs provide mechanisms to va... 阅读全文
posted @ 2014-10-12 15:30 wuhn 阅读(333) 评论(0) 推荐(1) 编辑
摘要: JSONJavaScript Object Notation (JSON) is an open, human and machine-readable standard that facilitates data interchange, and along with XML is the mai... 阅读全文
posted @ 2014-10-12 12:13 wuhn 阅读(665) 评论(0) 推荐(0) 编辑
摘要: Exception in thread "main" java.net.UnknownHostException: file at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178) at ... 阅读全文
posted @ 2014-10-11 01:29 wuhn 阅读(3011) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 40 下一页