Edit D:\rfid\libsystem\WEB-INF\classes\spring-mvc.xml
<?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:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:task="http://www.springframework.org/schema/task" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.3.xsd http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-3.0.xsd"> <!-- ????????????SpringMVC?????????@controller???????????? --> <context:component-scan base-package="com.jishen.libsystem.controller" /> <context:component-scan base-package="com.jishen.libsystem.dao" /> <context:component-scan base-package="com.jishen.libsystem.service" /> <bean class="com.jishen.libsystem.SpringContextUtil" /> <!--???IE???AJAX??????JSON????????? --> <bean id="mappingJacksonHttpMessageConverter" class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter"> <property name="supportedMediaTypes"> <list> <value>text/plain;charset=UTF-8</value> <value>text/html;charset=UTF-8</value> </list> </property> </bean> <!-- ???SpringMVC????????????????????OJO????? --> <bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter"> <property name="messageConverters"> <list> <ref bean="mappingJacksonHttpMessageConverter" /> <!-- JSON????? --> </list> </property> </bean> <!-- ????????????????? ??????????? --> <bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"> <!-- ???????????????????????ction?????eturn????????????????????????? ?????rl??? --> <property name="prefix" value="/WEB-INF/jsp/" /> <property name="suffix" value=".jsp" /> </bean> <!-- ???????????????????????????????????????????????????????????????????????? --> <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <!-- ?????? --> <property name="defaultEncoding" value="utf-8" /> <!-- ???????????? --> <property name="maxUploadSize" value="10485760000" /> <!-- ???????????? --> <property name="maxInMemorySize" value="40960" /> </bean> <!-- ????????????????? ??????MyExceptionResolver????????????????? --> <bean class="com.jishen.global.exception.MyExceptionResolver"></bean> <!-- ???????? --> <mvc:interceptors> <mvc:interceptor> <!-- ?????????URL??? --> <mvc:mapping path="/**" /> <!-- ??????????????? --> <bean class="com.jishen.global.interceptor.MyInterceptor"></bean> </mvc:interceptor> </mvc:interceptors> <!-- <bean id="springBeanFactoryUtils" class="com.jishen.util.SpringBeanFactoryUtils" /> --> <bean class="com.jishen.global.init.InitBeforePostConstruct" /> <!-- ????????--> <task:scheduled-tasks> <task:scheduled ref="ScheduledTask" method="task" cron="0 * * * * ?"/> </task:scheduled-tasks> <bean id="druid-stat-interceptor" class="com.alibaba.druid.support.spring.stat.DruidStatInterceptor"> </bean> <bean id="druid-stat-pointcut" class="org.springframework.aop.support.JdkRegexpMethodPointcut" scope="prototype"> <property name="patterns"> <list> <value>com.jishen.libsystem.dao.*</value> </list> </property> </bean> <!-- <aop:config> <aop:advisor advice-ref="druid-stat-interceptor" pointcut-ref="druid-stat-pointcut" /> </aop:config> --> </beans>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de