上一页 1 2 3 4 5 6 7 8 9 10 ··· 95 下一页
摘要: Servlet3.0开始新增了Part接口,专门用来处理文件上传。 package javax.servlet.http;import java.io.IOException;import java.io.InputStream;import java.util.Collection;publ... 阅读全文
posted @ 2017-01-09 17:15 N3verL4nd 阅读(264) 评论(0) 推荐(0) 编辑
摘要: Unicode、UTF-8 和 ISO8859-1到底有什么区别 将以"中文"两个字为例,经查表可以知道其GB2312编码是"d6d0 cec4",Unicode编码为"4e2d 6587",UTF编码就是"e4b8ad e69687"。注意, 这两个字没有iso8859-1编码,但可以用i... 阅读全文
posted @ 2017-01-08 22:29 N3verL4nd 阅读(170) 评论(0) 推荐(0) 编辑
摘要: Unicode、UTF-8 和 ISO8859-1到底有什么区别 将以"中文"两个字为例,经查表可以知道其GB2312编码是"d6d0 cec4",Unicode编码为"4e2d 6587",UTF编码就是"e4b8ad e69687"。注意, 这两个字没有iso8859-1编码,但可以用i... 阅读全文
posted @ 2017-01-08 22:29 N3verL4nd 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 学习Servlet时碰到的一个bug。 Connected to server [2017-01-08 04:40:33,100] Artifact jspRun:war exploded: Artifact is being deployed, please wait... 08-Jan-20... 阅读全文
posted @ 2017-01-08 17:13 N3verL4nd 阅读(4217) 评论(0) 推荐(0) 编辑
摘要: 学习Servlet时碰到的一个bug。 Connected to server [2017-01-08 04:40:33,100] Artifact jspRun:war exploded: Artifact is being deployed, please wait... 08-Jan-20... 阅读全文
posted @ 2017-01-08 17:13 N3verL4nd 阅读(4233) 评论(0) 推荐(0) 编辑
摘要: 最简单的方法: 利用javax.xml.bind包下的DatatypeConverter printHexBinary public static java.lang.String printHexBinary(byte[] val) Converts an array of bytes i... 阅读全文
posted @ 2017-01-06 12:36 N3verL4nd 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 最简单的方法: 利用javax.xml.bind包下的DatatypeConverter printHexBinary public static java.lang.String printHexBinary(byte[] val) Converts an array of bytes i... 阅读全文
posted @ 2017-01-06 12:36 N3verL4nd 阅读(5738) 评论(0) 推荐(0) 编辑
摘要: public byte[] getBytes(Charset charset) Encodes this String into a sequence of bytes using the given charset, storing the result into a new byte arr... 阅读全文
posted @ 2017-01-06 09:50 N3verL4nd 阅读(1444) 评论(0) 推荐(1) 编辑
摘要: HTML(HyperText Markup Language):超文本标记语言 HTTP(HyperText Transfer Protocol):超文本传输协议 URL(Uniform Resource Locator):统一资源定位符,以文字的方式来说明因特网上的资源如何取得。 URN(Un... 阅读全文
posted @ 2017-01-05 16:02 N3verL4nd 阅读(158) 评论(0) 推荐(0) 编辑
摘要: HTML(HyperText Markup Language):超文本标记语言 HTTP(HyperText Transfer Protocol):超文本传输协议 URL(Uniform Resource Locator):统一资源定位符,以文字的方式来说明因特网上的资源如何取得。 URN(Un... 阅读全文
posted @ 2017-01-05 16:02 N3verL4nd 阅读(202) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 95 下一页