安装mysql: http://blog.java1234.com/blog/articles/308.html 安装tomcat:http://blog.java1234.com/blog/articles/309.html,tomcat装完在server.xml设置编码方式为utf-8