How To Install Java Artifact javax.servlet.servlet-api v2.5

javax.servlet servlet-api 2.5

Introduction

In this article, we'll learn how to install Java artifact servlet-api from javax.servlet group in version 2.5. The artifact is available in 7 versions: 3.0-alpha-1 2.5 2.4.public_draft 2.4-20040521 2.4 2.3 2.2

How To Install Java Artifact javax.servlet.servlet-api In Version 2.5

To install the Javax Servlet Api artifact in version 2.5 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses Javax Servlet Api dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.