Skip to content

Instantly share code, notes, and snippets.

@kinathru
Created March 20, 2017 17:19
Show Gist options
  • Save kinathru/5276ea461f2a11057928ec7a54eb17dc to your computer and use it in GitHub Desktop.
Save kinathru/5276ea461f2a11057928ec7a54eb17dc to your computer and use it in GitHub Desktop.
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>JavaSpringRESTDemo</display-name>
<servlet>
<servlet-name>spring</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>spring</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment