Tag Archives: maven related

About the steps to create Maven’s (WEB) dependency using in idea

steps for creating maven dependencies in idea

  • manually import JSP and Servlet and JSTL dependencies in the pom, so that the project has a web compilation environment
    • JSTL support ‘
    • Servlet compilation environment
    • JSP compilation environment
    • 0

    1

manually imports JSPS and servlets and JSTL dependencies in the pom to give the project a web compilation environment

JSTL supports `

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>

servlet compilation environment

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
<scope>provided</scope>
</dependency>

JSP compilation environment

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jsp-api</artifactId>
<version>2.0</version>
<scope>provided</scope>
</dependency>