protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
response.setHeader("content-type","text/html;charset=UTF-8");//设置编码格式
PrintWriter out=response.getWriter();
out.println("Hello Servlet!");
out.println("你好!");
}