1.写一servlet,配置web.xmls。 2.将java web项目生成后 \build\web\下所有的文件复制到tomcat/webapps/ROOT 下, 转载于:https://www.cnblogs.com/zxyl/archive/2012/02/17/2356130.html