Skip to content

Instantly share code, notes, and snippets.

@rei999
Created January 19, 2013 20:06
Show Gist options
  • Save rei999/4574775 to your computer and use it in GitHub Desktop.
Save rei999/4574775 to your computer and use it in GitHub Desktop.
Spring App Engine web.xml
<servlet>
<servlet-name>spring-mvc</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>spring-mvc</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/spring-mvc-servlet.xml</param-value>
</context-param>
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment