MVN

javax.servlet : servlet-api

Maven & Gradle

Apr 17, 2008
8k usages

JavaServlet(TM) Specification

<dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>servlet-api</artifactId>
    <version>2.2</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of javax.servlet : servlet-api to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 2.2
  • Latest Alpha: 3.0-alpha-1

All Versions

Choose a version of javax.servlet : servlet-api to add to Maven or Gradle - All Versions:

  • Version Updated
  • servlet-api-3.0-alpha-1

    Apr 17, 2008
  • servlet-api-2.2

    Nov 06, 2006
  • servlet-api-2.3

    Nov 06, 2006
  • servlet-api-2.4.public_draft

    Nov 06, 2006
  • servlet-api-2.4

    Jul 17, 2006
  • servlet-api-2.5

    Jul 17, 2006
  • servlet-api-2.4-20040521

    Nov 08, 2005

How to add a dependency to Maven

Add the following javax.servlet : servlet-api maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>servlet-api</artifactId>
    <version>2.2</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following javax.servlet : servlet-api gradle dependency to your build.gradle file:

implementation 'javax.servlet:servlet-api:2.2'

Gradle Kotlin DSL: Add the following javax.servlet : servlet-api gradle kotlin dependency to your build.gradle.kts file:

implementation("javax.servlet:servlet-api:2.2")

How to add a dependency to SBT Scala

SBT Scala: Add the following javax.servlet : servlet-api sbt scala dependency to your build.sbt file:

libraryDependencies += "javax.servlet" % "servlet-api" % "2.2"

Advertisement

Dependencies from Group

Apr 20, 2018
13k usages
232 stars
Apr 17, 2008
8k usages
Nov 06, 2006
1.8k usages
Nov 06, 2006
677 usages
Mar 06, 2006

Discover Dependencies

Jun 15, 2022
4.4k usages
Jun 23, 2022
7.8k usages
59k stars
Jun 09, 2022
3.2k usages
1k stars
Jun 23, 2022
2.7k usages
59k stars
Jul 05, 2014
8.7k usages
Mar 08, 2022
115 usages
101 stars
Feb 26, 2021
21k usages
Apr 05, 2022
67 usages
3k stars
Jan 02, 2015
12k usages
12k stars
image

Maven Repository

Search Maven dependencies with Maven Repository Chrome Extension

Add to Chrome