Configure web.xml
From Documentation
This documentation is for an older version of ZK. For the latest one, please click here.
In your web.xml, you have to define org.springframework.web.context.ContextLoaderListener
, and to specify the location of the configuration file to load bean definitions.
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>