解压后,把chapter12放到tomcat的安装目录下的webapps文件夹下,然后把chapter12文件夹——>webINF——>classes——>com文件夹拷到tomcat安装目录下的common——>classes下,启动tomcat,在浏览器中输入http://localhost:8080/chapter12/index.html,回车,即可运行!