img标签不能有中文路径 在E:\Soft\apache-tomcat-6.0.26\conf中的server.xml中改为<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/>主要加上URIEncoding="UTF-8"