Create Spring Configuration File"
From Documentation
(Created page with '{{ZKDevelopersGuidePageHeader}} Define bean definitions in <tt>applicationContext.xml</tt> file, and put it into your <tt>WEB-INF</tt> directory. <source lang="xml" > <?xml ver…') |
m (correct highlight (via JWB)) |
||
Line 1: | Line 1: | ||
{{ZKDevelopersGuidePageHeader}} | {{ZKDevelopersGuidePageHeader}} | ||
− | Define bean definitions in < | + | Define bean definitions in <code>applicationContext.xml</code> file, and put it into your <code>WEB-INF</code> directory. |
<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.
Define bean definitions in applicationContext.xml
file, and put it into your WEB-INF
directory.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="DataSource" class="test.DataSourceImpl"/>
</beans>