1、File -> New -> Other
![](https://img-blog.csdnimg.cn/img_convert/acc1a27538c40f6f81708c8bd9406197.png)
2、Dynamic Web Project -> Next
![](https://img-blog.csdnimg.cn/img_convert/96de94d4ff77f9f5500c4627e312ec49.png)
3、Finish
![](https://img-blog.csdnimg.cn/img_convert/e7db8626da71d794bfa5af5adeff940d.png)
4、修改tomcat
![](https://img-blog.csdnimg.cn/img_convert/d05c366f144ab004e2dda955201757ec.png)
5、创建index.jsp
1)WebContent -> New -> Other
![](https://img-blog.csdnimg.cn/img_convert/2e2fc0761cf17629c5aed553ac6ba3b7.png)
2)JSP File -> Next
![](https://img-blog.csdnimg.cn/img_convert/623f8f1c0f75fcf9afb29bc734a1ab23.png)
3)index.jsp -> Finish
![](https://img-blog.csdnimg.cn/img_convert/dc87ea866b0ad2f2e16746fbbd5f4ce2.png)
4)index.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h2>Hello World</h2>
</body>
</html>
6、Run As -> Run on Server
![](https://img-blog.csdnimg.cn/img_convert/55467f79dac1cbcacf3fa93a78ac226f.png)
7、Tomcat -> Finish
![](https://img-blog.csdnimg.cn/img_convert/816bd15dae80ea5ae41e8f5a219d28d0.png)
8、启动成功
![](https://img-blog.csdnimg.cn/img_convert/34e002863b3111d4113b23f7b447901c.png)
9、浏览器访问
![](https://img-blog.csdnimg.cn/img_convert/4b338a1078cae62e138dffe213d391ee.png)