Home  >  Forum  >  Java EE
Post New Query

What is minimum JDK required for Servlet 3?


joined on
November 02,2014
Asked on January 11,2015
What is minimum JDK required for Servlet 3?
joined on
October 10,2013
Replied on January 12,2015

Servlet 3 has been introduced in Java EE 6 and is supported by JDK 6 and onward.

To resolve Servlet 3 dependency use Gradle as below

compile 'javax.servlet:javax.servlet-api:3.1.0'

and use maven as

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


Write Answer



Sitewide-Feb4of4234x60





Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us