码迷,mamicode.com
首页 > 其他好文 > 详细

Servlet乱码

时间:2014-05-28 20:34:21      阅读:305      评论:0      收藏:0      [点我收藏+]

标签:style   c   class   blog   code   java   

bubuko.com,布布扣
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        response.setContentType("text/plain;charset=UTF-8");
        request.setCharacterEncoding("UTF-8");
        response.setCharacterEncoding("UTF-8");
        String d30502 = request.getParameter("d30502");//姓名
        String d30534 = request.getParameter("d30534");//新证号
        String institution = request.getParameter("institution");
        String date_start = request.getParameter("date_start");
        String date_end = request.getParameter("date_end");
    }
bubuko.com,布布扣

 

Servlet乱码,布布扣,bubuko.com

Servlet乱码

标签:style   c   class   blog   code   java   

原文地址:http://www.cnblogs.com/quyanhui/p/3754738.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!