问题 在转发的url中的参数含有中文,接收的时候会变成乱码 解决办法 使用URLEncoder.encode()设置编码类型即可 response.sendRedirect("showClass.jsp?cName=" + URLEncoder.encode(aClass.getcName(), StandardCharsets.UTF_8));