摘要:
Servlet3.0开始新增了Part接口,专门用来处理文件上传。 package javax.servlet.http;import java.io.IOException;import java.io.InputStream;import java.util.Collection;publ... 阅读全文
摘要:
Unicode、UTF-8 和 ISO8859-1到底有什么区别 将以"中文"两个字为例,经查表可以知道其GB2312编码是"d6d0 cec4",Unicode编码为"4e2d 6587",UTF编码就是"e4b8ad e69687"。注意, 这两个字没有iso8859-1编码,但可以用i... 阅读全文
摘要:
Unicode、UTF-8 和 ISO8859-1到底有什么区别 将以"中文"两个字为例,经查表可以知道其GB2312编码是"d6d0 cec4",Unicode编码为"4e2d 6587",UTF编码就是"e4b8ad e69687"。注意, 这两个字没有iso8859-1编码,但可以用i... 阅读全文
摘要:
学习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... 阅读全文
摘要:
学习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... 阅读全文
摘要:
最简单的方法: 利用javax.xml.bind包下的DatatypeConverter printHexBinary public static java.lang.String printHexBinary(byte[] val) Converts an array of bytes i... 阅读全文
摘要:
最简单的方法: 利用javax.xml.bind包下的DatatypeConverter printHexBinary public static java.lang.String printHexBinary(byte[] val) Converts an array of bytes i... 阅读全文
摘要:
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... 阅读全文
摘要:
HTML(HyperText Markup Language):超文本标记语言 HTTP(HyperText Transfer Protocol):超文本传输协议 URL(Uniform Resource Locator):统一资源定位符,以文字的方式来说明因特网上的资源如何取得。 URN(Un... 阅读全文
摘要:
HTML(HyperText Markup Language):超文本标记语言 HTTP(HyperText Transfer Protocol):超文本传输协议 URL(Uniform Resource Locator):统一资源定位符,以文字的方式来说明因特网上的资源如何取得。 URN(Un... 阅读全文