Hi,
I have learned Maven Web Application: Creating web application in Maven 3 from your website.
Now I have to add the servlet api in pom.xml file.
Let's know how to add the servlet api to my pom.xml?
Thanks
Hi,
Use the following code in your pom.xml file:
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
Thanks