Fork me on GitHub
摘要: 1.我们知道,如果是POST请求,我们需要调用request.setCharacterEncoding("utf-8")方法来设计编码。1 public void doGet(HttpServletRequest request, HttpServletResponse response)2 ... 阅读全文
posted @ 2015-06-14 18:53 郑斌blog 阅读(509) 评论(0) 推荐(0) 编辑
摘要: 1 package cn.itcast.test.web.servlet; 2 3 import java.io.IOException; 4 import java.io.PrintWriter; 5 6 import javax.servlet.ServletException; 7 im... 阅读全文
posted @ 2015-06-14 18:35 郑斌blog 阅读(676) 评论(0) 推荐(0) 编辑