1、创建maven项目
2、配置pom.xml
主要配置servlet和jsp
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.2</version>
<scope>provided</scope>
</dependency>
3、打包war
标签:基本,provided,idea,api,jsp,使用,servlet,javax From: https://www.cnblogs.com/wd404/p/17589107.html