忽略文件
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -10,3 +10,4 @@
|
|||||||
|
|
||||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||||
hs_err_pid*
|
hs_err_pid*
|
||||||
|
/WebRoot/WEB-INF/classes
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
<?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:task="http://www.springframework.org/schema/task" xmlns:context="http://www.springframework.org/schema/context"
|
|
||||||
xsi:schemaLocation="
|
|
||||||
http://www.springframework.org/schema/beans
|
|
||||||
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
|
|
||||||
http://www.springframework.org/schema/task
|
|
||||||
http://www.springframework.org/schema/task/spring-task-3.0.xsd
|
|
||||||
http://www.springframework.org/schema/context
|
|
||||||
http://www.springframework.org/schema/context/spring-context-3.0.xsd
|
|
||||||
">
|
|
||||||
|
|
||||||
<!--
|
|
||||||
<context:component-scan base-package="sc545.pay.*" />
|
|
||||||
|
|
||||||
<task:executor id="executor" pool-size="5" />
|
|
||||||
<task:scheduler id="scheduler" pool-size="10" />
|
|
||||||
<task:annotation-driven executor="executor" scheduler="scheduler" />
|
|
||||||
-->
|
|
||||||
</beans>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
a=b
|
|
||||||
c=d
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
<?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:mvc="http://www.springframework.org/schema/mvc"
|
|
||||||
xsi:schemaLocation="
|
|
||||||
http://www.springframework.org/schema/mvc
|
|
||||||
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
|
|
||||||
http://www.springframework.org/schema/beans
|
|
||||||
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
|
|
||||||
http://www.springframework.org/schema/context
|
|
||||||
http://www.springframework.org/schema/context/spring-context-4.0.xsd
|
|
||||||
">
|
|
||||||
<context:annotation-config />
|
|
||||||
<!-- 扫描所有的 controller -->
|
|
||||||
<context:component-scan base-package="sc545.pay" />
|
|
||||||
|
|
||||||
<!-- 将静态资源交于默认的servlet处理 -->
|
|
||||||
<mvc:default-servlet-handler />
|
|
||||||
|
|
||||||
<!-- 启动注解驱动 SpringMVC 功能 -->
|
|
||||||
<mvc:annotation-driven />
|
|
||||||
|
|
||||||
|
|
||||||
<bean
|
|
||||||
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
|
||||||
<property name="prefix" value="/" /> <!-- controller 返回的网页地址根目录 -->
|
|
||||||
<!-- <property name="suffix" value=".jsp" /> -->
|
|
||||||
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="multipartResolver"
|
|
||||||
class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
|
|
||||||
<property name="defaultEncoding" value="utf-8"></property>
|
|
||||||
<property name="maxUploadSize" value="10485760000"></property>
|
|
||||||
<property name="maxInMemorySize" value="40960"></property>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 配置静态资源 -->
|
|
||||||
<mvc:resources location="/" mapping="/**/*.js" />
|
|
||||||
<mvc:resources location="/" mapping="/**/*.css" />
|
|
||||||
<mvc:resources location="/assets/" mapping="/assets/**/*" />
|
|
||||||
<mvc:resources location="/images/" mapping="/images/*"
|
|
||||||
cache-period="360000" />
|
|
||||||
|
|
||||||
<mvc:interceptors>
|
|
||||||
<mvc:interceptor>
|
|
||||||
<mvc:mapping path="/**" />
|
|
||||||
<bean class="sc545.pay.interceptor.testInterceptor" />
|
|
||||||
</mvc:interceptor>
|
|
||||||
|
|
||||||
</mvc:interceptors>
|
|
||||||
|
|
||||||
|
|
||||||
</beans>
|
|
||||||
Reference in New Issue
Block a user