Hi,
Maybe you need to insert one servlet file within your project, then write the init methd, set the load-on-startup attr which the servlet you have.
One demo:
<servlet>
<servlet-name>springServlet</servlet-name>
<servlet-class>Your Servlet Class</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>