You can download javax.servlet-api-4.0.0.jar in this page.
CDDL + GPLv2 with classpath exception
javax.servlet-api-4.0.0.jar file has the following types.
META-INF/LICENSE.txt META-INF/MANIFEST.MF META-INF/maven/javax.servlet/javax.servlet-api/pom.properties META-INF/maven/javax.servlet/javax.servlet-api/pom.xml javax.servlet.AsyncContext.class javax.servlet.AsyncEvent.class javax.servlet.AsyncListener.class javax.servlet.DispatcherType.class javax.servlet.Filter.class javax.servlet.FilterChain.class javax.servlet.FilterConfig.class javax.servlet.FilterRegistration.class javax.servlet.GenericFilter.class javax.servlet.GenericServlet.class javax.servlet.HttpConstraintElement.class javax.servlet.HttpMethodConstraintElement.class javax.servlet.MultipartConfigElement.class javax.servlet.ReadListener.class javax.servlet.Registration.class javax.servlet.RequestDispatcher.class javax.servlet.Servlet.class javax.servlet.ServletConfig.class javax.servlet.ServletContainerInitializer.class javax.servlet.ServletContext.class javax.servlet.ServletContextAttributeEvent.class javax.servlet.ServletContextAttributeListener.class javax.servlet.ServletContextEvent.class javax.servlet.ServletContextListener.class javax.servlet.ServletException.class javax.servlet.ServletInputStream.class javax.servlet.ServletOutputStream.class javax.servlet.ServletRegistration.class javax.servlet.ServletRequest.class javax.servlet.ServletRequestAttributeEvent.class javax.servlet.ServletRequestAttributeListener.class javax.servlet.ServletRequestEvent.class javax.servlet.ServletRequestListener.class javax.servlet.ServletRequestWrapper.class javax.servlet.ServletResponse.class javax.servlet.ServletResponseWrapper.class javax.servlet.ServletSecurityElement.class javax.servlet.SessionCookieConfig.class javax.servlet.SessionTrackingMode.class javax.servlet.SingleThreadModel.class javax.servlet.UnavailableException.class javax.servlet.WriteListener.class javax.servlet.annotation.HandlesTypes.class javax.servlet.annotation.HttpConstraint.class javax.servlet.annotation.HttpMethodConstraint.class javax.servlet.annotation.MultipartConfig.class javax.servlet.annotation.ServletSecurity.class javax.servlet.annotation.WebFilter.class javax.servlet.annotation.WebInitParam.class javax.servlet.annotation.WebListener.class javax.servlet.annotation.WebServlet.class javax.servlet.descriptor.JspConfigDescriptor.class javax.servlet.descriptor.JspPropertyGroupDescriptor.class javax.servlet.descriptor.TaglibDescriptor.class javax.servlet.http.Cookie.class javax.servlet.http.HttpFilter.class javax.servlet.http.HttpServlet.class javax.servlet.http.HttpServletMapping.class javax.servlet.http.HttpServletRequest.class javax.servlet.http.HttpServletRequestWrapper.class javax.servlet.http.HttpServletResponse.class javax.servlet.http.HttpServletResponseWrapper.class javax.servlet.http.HttpSession.class javax.servlet.http.HttpSessionActivationListener.class javax.servlet.http.HttpSessionAttributeListener.class javax.servlet.http.HttpSessionBindingEvent.class javax.servlet.http.HttpSessionBindingListener.class javax.servlet.http.HttpSessionContext.class javax.servlet.http.HttpSessionEvent.class javax.servlet.http.HttpSessionIdListener.class javax.servlet.http.HttpSessionListener.class javax.servlet.http.HttpUpgradeHandler.class javax.servlet.http.HttpUtils.class javax.servlet.http.MappingMatch.class javax.servlet.http.NoBodyOutputStream.class javax.servlet.http.NoBodyResponse.class javax.servlet.http.Part.class javax.servlet.http.PushBuilder.class javax.servlet.http.WebConnection.class javax/servlet/LocalStrings.properties javax/servlet/LocalStrings_fr.properties javax/servlet/LocalStrings_ja.properties javax/servlet/annotation/package.html javax/servlet/descriptor/package.html javax/servlet/http/LocalStrings.properties javax/servlet/http/LocalStrings_es.properties javax/servlet/http/LocalStrings_fr.properties javax/servlet/http/LocalStrings_ja.properties javax/servlet/http/package.html javax/servlet/package.html
javax.servlet-api-4.0.0.pom file content.
<?xml version="1.0" encoding="UTF-8"?> <!-- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. Copyright (c) 1997-2017 Oracle and/or its affiliates. All rights reserved. The contents of this file are subject to the terms of either the GNU General Public License Version 2 only ("GPL") or the Common Development and Distribution License("CDDL") (collectively, the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the License at https://oss.oracle.com/licenses/CDDL+GPL-1.1 or LICENSE.txt. See the License for the specific language governing permissions and limitations under the License. When distributing the software, include this License Header Notice in each file and include the License file at LICENSE.txt. GPL Classpath Exception: Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle in the GPL Version 2 section of the License file that accompanied this code. Modifications: If applicable, add the following below the License Header, with the fields enclosed by brackets [] replaced by your own identifying information: "Portions Copyright [year] [name of copyright owner]" Contributor(s): If you wish your version of this file to be governed by only the CDDL or only the GPL Version 2, indicate your decision by adding "[Contributor] elects to include this software in this distribution under the [CDDL or GPL Version 2] license." If you don't indicate a single choice of license, a recipient has the option to distribute your version of this file under either the CDDL, the GPL Version 2 or to extend the choice of license to its licensees as provided above. However, if you add GPL Version 2 code and therefore, elected the GPL Version 2 license, then the option applies only if the new code is made subject to such option by the copyright holder. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>net.java</groupId> <artifactId>jvnet-parent</artifactId> <version>3</version> </parent> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <packaging>jar</packaging> <version>4.0.0</version> <properties> <spec.version>4.0</spec.version> <extension.name>javax.servlet</extension.name> <bundle.symbolicName>javax.servlet-api</bundle.symbolicName> <bundle.version>4.0.0</bundle.version> <window.title>Java Servlet 4.0</window.title> <doc.title>Java Servlet 4.0 API Specification</doc.title> <vendor.name>Oracle Corporation</vendor.name> <implementation.vendor.id>org.glassfish</implementation.vendor.id> <findbugs.version>3.0.4</findbugs.version> <findbugs.exclude>exclude.xml</findbugs.exclude> <findbugs.threshold>Low</findbugs.threshold> <copyright-plugin.version>1.41</copyright-plugin.version> </properties> <name>Java Servlet API</name> <url>https://javaee.github.io/servlet-spec/</url> <developers> <developer> <id>edburns</id> <name>Ed Burns</name> <url>http://purl.oclc.org/NET/edburns/</url> <organization>Oracle</organization> <roles> <role>co-lead</role> <role>developer</role> </roles> </developer> <developer> <id>shingwaichan</id> <name>Shing Wai Chan</name> <organization>Oracle</organization> <roles> <role>lead</role> <role>developer</role> </roles> </developer> </developers> <distributionManagement> <snapshotRepository> <id>jvnet-nexus-snapshots</id> <name>Java.net Nexus Snapshots Repository</name> <url>https://maven.java.net/content/repositories/snapshots/</url> </snapshotRepository> <repository> <id>jvnet-nexus-staging</id> <name>Java.net Nexus Staging Repository</name> <url>https://maven.java.net/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <organization> <name>GlassFish Community</name> <url>https://javaee.github.io</url> </organization> <licenses> <license> <name>CDDL + GPLv2 with classpath exception</name> <url>https://oss.oracle.com/licenses/CDDL+GPL-1.1</url> <distribution>repo</distribution> <comments>A business-friendly OSS license</comments> </license> </licenses> <issueManagement> <system>github</system> <url>https://github.com/javaee/servlet-spec/issues</url> </issueManagement> <mailingLists> <mailingList> <name>Servlet Developer</name> <archive>servlet-spec@javaee.groups.io</archive> </mailingList> </mailingLists> <scm> <connection>scm:git:https://github.com/javaee/servlet-spec.git</connection> <developerConnection>scm:git:git@github.com:javaee/servlet-spec.git</developerConnection> <url>https://github.com/javaee/servlet-spec</url> <tag>4.0.0</tag> </scm> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.8</source> <target>1.8</target> <compilerArgument>-Xlint:all</compilerArgument> </configuration> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>1.4.3</version> <configuration> <supportedProjectTypes> <supportedProjectType>jar</supportedProjectType> </supportedProjectTypes> <instructions> <Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName> <Bundle-Description> Java(TM) Servlet ${spec.version} API Design Specification </Bundle-Description> <Bundle-Version>${bundle.version}</Bundle-Version> <Extension-Name>${extension.name}</Extension-Name> <Specification-Version>${spec.version}</Specification-Version> <Specification-Vendor>${vendor.name}</Specification-Vendor> <Implementation-Version>${project.version}</Implementation-Version> <Implementation-Vendor>${project.organization.name}</Implementation-Vendor> <Implementation-Vendor-Id>${implementation.vendor.id}</Implementation-Vendor-Id> </instructions> </configuration> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> <excludes> <exclude>**/*.java</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-remote-resources-plugin</artifactId> <version>1.2.1</version> <executions> <execution> <goals> <goal>process</goal> </goals> <configuration> <resourceBundles> <resourceBundle>org.glassfish:legal:1.1</resourceBundle> </resourceBundles> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1</version> <configuration> <includePom>true</includePom> </configuration> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.4</version> <configuration> <sourcepath>src</sourcepath> <doctitle>${doc.title}</doctitle> <windowtitle>${window.title}</windowtitle> <stylesheetfile>javax.servlet-api.css</stylesheetfile> <docfilessubdirs>true</docfilessubdirs> <groups> <group> <title>Servlet API Documentation</title> <packages>javax.servlet</packages> </group> </groups> <bottom> <![CDATA[Copyright © 1999-2017, <a href="http://www.oracle.com">Oracle</a> and/or its affiliates. All Rights Reserved. Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>. Portions Copyright © 1999-2002 The Apache Software Foundation. ]]> </bottom> <tags> <tag> <name>implSpec</name> <placement>a</placement> <head>Implementation Requirements:</head> </tag> <tag> <name>param</name> </tag> <tag> <name>return</name> </tag> <tag> <name>throws</name> </tag> <tag> <name>since</name> </tag> <tag> <name>version</name> </tag> <tag> <name>serialData</name> </tag> <tag> <name>factory</name> </tag> <tag> <name>see</name> </tag> </tags> </configuration> <executions> <execution> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>${findbugs.version}</version> <configuration> <threshold>${findbugs.threshold}</threshold> <excludeFilterFile>${findbugs.exclude}</excludeFilterFile> <findbugsXmlOutput>true</findbugsXmlOutput> <findbugsXmlWithMessages>true</findbugsXmlWithMessages> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <configuration> <mavenExecutorId>forked-path</mavenExecutorId> <useReleaseProfile>false</useReleaseProfile> <tagNameFormat>@{project.version}</tagNameFormat> <arguments>${release.arguments}</arguments> </configuration> <dependencies> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.8.1</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.glassfish.copyright</groupId> <artifactId>glassfish-copyright-maven-plugin</artifactId> <version>${copyright-plugin.version}</version> <configuration> <scm>git</scm> <scmOnly>true</scmOnly> <excludeFile> ${basedir}/copyright-exclude </excludeFile> </configuration> <executions> <execution> <id>check-copyright</id> <phase>process-test-sources</phase> <goals> <goal>copyright</goal> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.html</include> </includes> </resource> <resource> <directory>src/main/resources</directory> <excludes> <exclude>META-INF/README</exclude> </excludes> </resource> </resources> </build> <reporting> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>${findbugs.version}</version> <configuration> <threshold>${findbugs.threshold}</threshold> <excludeFilterFile>${findbugs.exclude}</excludeFilterFile> </configuration> </plugin> </plugins> </reporting> </project>
<dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>4.0.0</version> </dependency>
If you think the following javax.servlet-api-4.0.0.jar downloaded from Maven central repository is inappropriate, such as containing malicious code/tools or violating the copyright, please email , thanks.
Download javax.servlet-api-4.0.0.jar file