查询数据get吧.

查询数据get吧.

 

查询数据get吧.

 

 然后tomcat中的server.xml修改URIEncoding和jsp中的pageEncoding一致.

  <Connector port="8101" protocol="HTTP/1.1"

               connectionTimeout="20000"

               redirectPort="8443" URIEncoding="GBK" />

 

 

<%@ page language="java" contentType="text/html; charset=gb2312"

pageEncoding="gb2312"%>

 

你可能感兴趣的:(java,html,tomcat,xml,jsp)