Configure web.xml"
From Documentation
(Created page with '{{ZKDevelopersGuidePageHeader}} In your web.xml, you have to define <tt>org.springframework.web.context.ContextLoaderListener</tt>, and to specify the location of the configurat…') |
m (correct highlight (via JWB)) |
||
Line 1: | Line 1: | ||
{{ZKDevelopersGuidePageHeader}} | {{ZKDevelopersGuidePageHeader}} | ||
− | In your web.xml, you have to define < | + | In your web.xml, you have to define <code>org.springframework.web.context.ContextLoaderListener</code>, and to specify the location of the configuration file to load bean definitions. |
<source lang="xml" > | <source lang="xml" > |
Latest revision as of 10:38, 19 January 2022
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>