1.使用idea快速搭建Web项目 1-1.创建项目 File--->new Project--->Java Enterprise--->Web Application 1-2.导入 web项目需要的 jar包(tomcat提供) file--->project