| 123456789101112131415161718192021222324252627282930313233 | 
							- <?xml version="1.0" encoding="UTF-8"?>
 
- <beans xmlns="http://www.springframework.org/schema/beans"
 
- 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
 
- 	xmlns:util="http://www.springframework.org/schema/util"
 
- 	xsi:schemaLocation="http://www.springframework.org/schema/beans
 
-            http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
 
-            http://www.springframework.org/schema/context
 
-            http://www.springframework.org/schema/context/spring-context-3.0.xsd
 
-            http://www.springframework.org/schema/util 
 
-            http://www.springframework.org/schema/util/spring-util.xsd">
 
- 	<context:annotation-config />
 
- 	<context:component-scan base-package="com.dianping.job.service" />
 
- 	<bean id="freemarkerConfig" class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
 
- 		<property name="templateLoaderPath" value="/WEB-INF/template/" />
 
- 		<property name="freemarkerSettings">
 
- 			<bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">
 
- 				<property name="location" value="classpath:freemarker.properties" />
 
- 			</bean>
 
- 		</property>
 
- 	</bean>
 
- 	<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
 
- 		<property name="fileEncoding" value="utf-8" />
 
- 		<property name="locations">
 
- 			<list>
 
- 				<value>classpath*:jdbc.properties</value>
 
- 			</list>
 
- 		</property>
 
- 	</bean>
 
- </beans>
 
 
  |