Jsp Api

javax.servlet : jsp-api

285 usages

Add dependency in Maven / Gradle

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

How to add dependency in a project

  1. Add dependency to a Maven project
  2. Add dependency to a Gradle project
  3. Add dependency to a SBT Scala project
  4. Add dependency to a Grape project

1. Add dependency to a Maven project

Maven: Add the javax.servlet:jsp-api library to the dependencies element of your pom.xml file:

<dependencies>
<dependency>
  <groupId>javax.servlet</groupId>
  <artifactId>jsp-api</artifactId>
  <version>2.0.public_draft</version>
</dependency>
</dependencies>

To install javax.servlet:jsp-api library use the following command:

mvn install

2. Add dependency to a Gradle project

Gradle Groovy DSL: Add the javax.servlet:jsp-api library to the dependencies section of your build.gradle file:

dependencies {
implementation 'javax.servlet:jsp-api:2.0.public_draft'
}

Gradle Kotlin DSL: Add the javax.servlet:jsp-api library to the dependencies section of your build.gradle.kts file:

dependencies {
implementation("javax.servlet:jsp-api:2.0.public_draft")
}

3. Add dependency to a SBT Scala project

Scala: Add the javax.servlet:jsp-api library to your build.sbt file:

libraryDependencies += "javax.servlet" % "jsp-api" % "2.0.public_draft"

4. Add dependency to a Grape project

Grape: Add an annotation javax.servlet:jsp-api library to your groovy script file:

@Grapes(
    @Grab('javax.servlet:jsp-api:2.0.public_draft')
)

Compile Dependencies (1)

Group / Artifact Usage
javax.servlet » servlet-api 3,338

Provided Dependencies (0)

Group / Artifact Usage

Test Dependencies (0)

Group / Artifact Usage