一、项目创建步骤
1.创建新工程
2.配置tomcat
3.IDEA配置tomcat直接发布项目
2.index.jsp文件修改
<%--
Created by IntelliJ IDEA.
User: Administrator
Date: 2020/6/20
Time: 21:51
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>java web</title>
</head>
<body>
<h1>title 1</h1>
<h2>title 2</h2>
<h3>title 3</h3>
<h4>title 4</h4>
</body>
</html>
二、效果图