Depedency javax.servlet-api added to the pom.xml file

Before there was the error :
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path.
This is fixed.