Edit D:\rfid\apache-tomcat-8.5.32\webapps\opac\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" 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"> <mvc:annotation-driven/> <!-- ????????????SpringMVC?????????@controller???????????? --> <context:component-scan base-package="com.jishen.opac" /> <context:property-placeholder location="classpath:server.properties" /> <!--???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> <!-- ???????? --> <mvc:interceptors> <mvc:interceptor> <!-- ?????????URL??? --> <mvc:mapping path="/**" /> <!-- ??????????????? --> <bean class="com.jishen.global.interceptor.OpacMyInterceptor"></bean> </mvc:interceptor> </mvc:interceptors> </beans>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de