SpringMVC technology and Servlet technology are functionally equivalent and both belong to web layer development technologies.
Advantages: simple to use, fast to develop, strong flexibility
getting Started:
rely
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.1.0</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>6.0.5</version>
</dependency>