Skip to content

Instantly share code, notes, and snippets.

@mangrar
Created May 14, 2010 07:04
Show Gist options
  • Save mangrar/400897 to your computer and use it in GitHub Desktop.
Save mangrar/400897 to your computer and use it in GitHub Desktop.
Setup the listener for spring in the web.xml configuration file
<listener id="SpringListener">
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/applicationContext.xml
</param-value>
</context-param>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment