<?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:tx="http://www.springframework.org/schema/tx"
|
xsi:schemaLocation="
|
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
|
http://www.springframework.org/schema/tx
|
http://www.springframework.org/schema/tx/spring-tx-4.0.xsd">
|
|
<!-- 启动bean, 必须实现 framework.startup.FrameStartBean 接口 -->
|
<bean id="initMenu" class="com.basic.x01.systemMenu.InitMenu" />
|
|
<!-- 加载完后执行启动类 -->
|
<bean class="framework.startup.FrameStartup">
|
<!-- 文件上传路径 -->
|
<property name="uploadPath" value="WEB-INF/upload" />
|
|
<!-- 文件下载临时目录 -->
|
<property name="downloadPath" value="WEB-INF/download" />
|
|
<!-- value=启动 bean id, 多个用英文逗号分隔-->
|
<property name="startBean"
|
value="initMenu" />
|
</bean>
|
|
<!-- filter, 与 web.xml 中配合使用 -->
|
<bean name="menuFilter" class="com.basic.x01.systemMenu.MenuFilter">
|
<property name="exceptSuffix"
|
value="jsp/html/htm/js/css/
|
jpg/jpeg/png/gif/
|
doc/docx/ppt/pptx/xls/xlsx" />
|
</bean>
|
</beans>
|