<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.2.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.2.xsd ">
<!--配置注解處理器映射器 -->
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping" />
<!-- 配置注解處理器適配器 -->
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter" >
<!-- 在處理器適配器中注入自定義webBinder
<property name="webBindingInitializer" ref="myBinder" />-->
<!-- 在處理器適配器中注入json消息轉換器依賴的jackson包-->
<property name="messageConverters">
<list>
<bean class="org.springframework.http.converter.json.MappingJacksonHttpMessageConverter" />
</list>
</property>
</bean>
<!--配置視圖解析器 -->
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver" >
<property name="prefix" value="/WEB-INF/jsp/" />
<property name="suffix" value=".jsp" />
</bean>
<!--使用spring組件掃描器 掃描handler -->
<context:component-scan base-package="com.controller" />
<!-- 配置攔截器
<mvc:interceptors>
儅有多個攔截器時,則會按照配置順序執行
<mvc:interceptor>
配置攔截路徑
<mvc:mapping path="/**" />
<bean class="com.controller.intercepter.MyHandlerIntercepter1" />
</mvc:interceptor>
</mvc:interceptors>-->
<!-- 配置靜態資源解析
<mvc:resources location="/img/" mapping="/img/**" />
<mvc:resources location="/js/" mapping="/js/**" />-->
<!-- 配置統一異常處理器
<bean class="com.exception.AllException" />-->
<!-- 校驗器
<bean id="validator" class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean">
<property name="providerClass" value="org.hibernate.validator.HibernateValidator" />
<property name="validationMessageSource" ref="messageSource" />
</bean>-->
<!-- 校驗錯誤信息配置文件
<bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
資源文件名
<property name="basenames">
<list>
<value>classpath:CustomerValidationMessage</value>
</list>
</property>
<property name="fileEncodings" value="utf-8" />
<property name="cacheSeconds" value="120" />
</bean>-->
<!--文件上傳配置
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="maxUploadSize">
<value>5242880</value>
</property>
</bean>
<bean id="convertDate" class="org.springframework.format.support.FormattingConversionServiceFactoryBean">
<property name="converters">
<list>
<bean class="com.controller.convert.MyConvert" />
</list>
</property>
</bean>
<!-- 自定義webBinder
<bean id="myBinder" class="org.springframework.web.bind.support.ConfigurableWebBindingInitializer" >
<property name="conversionService" ref="convertDate" />
<property name="validator" ref="validator" />
</bean>-->
<!--配置非注解處理器映射器 -->
<!-- <bean class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping" >
<property name="mappings">
<props>
<prop key="/MyController.action">myController</prop>
</props>
</property>
</bean> -->
<!-- <bean class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping" /> -->
<!-- 配置非注解處理器適配器 -->
<!-- <bean class="org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter" /> -->
<!-- <bean class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter" /> -->
<!-- 單個配置handler-->
<!-- <bean class="com.controller.MyController02" /> -->
<!-- <bean id="myController" name="/MyController.action" class="com.controller.MyController" /> -->
</beans>
没有合适的资源?快使用搜索试试~ 我知道了~
SSM整合Activiti
共90个文件
jar:64个
xml:8个
properties:4个
2星 需积分: 9 37 下载量 98 浏览量
2018-07-17
11:32:29
上传
评论 3
收藏 21.48MB ZIP 举报
温馨提示
SSM整合Activiti開發框架搭建,軟件環境:tomcat8.5,jdk7,Activiti5.18,spring3.2.2。
资源推荐
资源详情
资源评论
收起资源包目录
SSM_Act.zip (90个子文件)
SSM_Act
config
jdbc.properties 295B
log4j.properties 700B
sqlMapcfg.xml 1KB
springMVC.xml 5KB
applicationContext.xml 5KB
process
web_process01.png 6KB
web_process01.bpmn 3KB
WebContent
META-INF
MANIFEST.MF 39B
WEB-INF
web.xml 2KB
lib
jackson-mapper-asl-1.9.11.jar 762KB
log4j-core-2.0-rc1.jar 686KB
commons-collections-3.1.jar 546KB
activiti-engine-5.18.0.jar 1.65MB
com.springsource.org.apache.commons.logging-1.1.1.jar 60KB
spring-core-3.2.0.RELEASE.jar 843KB
mybatis-3.2.7.jar 696KB
activiti-simple-workflow-5.18.0.jar 118KB
validation-api-1.0.0.GA.jar 46KB
asm-3.3.1.jar 43KB
spring-context-support-3.2.0.RELEASE.jar 124KB
com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar 1.57MB
spring-expression-3.2.0.RELEASE.jar 189KB
activiti-common-rest-5.18.0.jar 14KB
asm-tree-3.3.jar 21KB
mybatis-ehcache-1.0.2.jar 10KB
spring-web-3.2.0.RELEASE.jar 610KB
activiti-spring-5.18.0.jar 35KB
jackson-core-asl-1.9.11.jar 227KB
ojdbc14.jar 1.47MB
jackson-annotations-2.8.0.jar 54KB
freemarker-2.3.19.jar 909KB
com.springsource.org.apache.log4j-1.2.15.jar 387KB
activiti-bpmn-converter-5.18.0.jar 192KB
ehcache-core-2.6.5.jar 1.28MB
spring-context-3.2.0.RELEASE.jar 834KB
commons-logging-1.1.1.jar 59KB
activation-1.1.jar 62KB
activiti-bpmn-model-5.18.0.jar 97KB
com.springsource.org.aopalliance-1.0.0.jar 5KB
spring-jdbc-3.2.0.RELEASE.jar 392KB
activiti-rest-5.18.0.jar 326KB
ognl-3.0.5.jar 222KB
commons-dbcp-1.4.jar 157KB
spring-webmvc-3.2.0.RELEASE.jar 621KB
activiti-process-validation-5.18.0.jar 53KB
activiti-bpmn-layout-5.18.0.jar 19KB
mysql-connector-java-5.1.28-bin.jar 855KB
activiti-json-converter-5.18.0.jar 97KB
slf4j-log4j12-1.7.5.jar 9KB
joda-time-2.1.jar 557KB
jackson-core-2.8.1.jar 273KB
javassist-3.17.1-GA.jar 695KB
commons-fileupload-1.2.2.jar 58KB
cglib-2.2.2.jar 280KB
jstl-1.2.jar 405KB
spring-aop-3.2.0.RELEASE.jar 327KB
asm-commons-3.3.jar 37KB
spring-tx-3.2.0.RELEASE.jar 235KB
mybatis-spring-1.2.2.jar 48KB
spring-orm-3.2.0.RELEASE.jar 383KB
spring-beans-3.2.0.RELEASE.jar 591KB
spring-test-3.2.0.RELEASE.jar 441KB
jackson-databind-2.8.1.jar 1.17MB
spring-aspects-3.2.0.RELEASE.jar 68KB
log4j-1.2.17.jar 478KB
log4j-api-2.0-rc1.jar 113KB
jta-1.1.jar 11KB
commons-io-2.4.jar 181KB
commons-lang3-3.1.jar 308KB
activiti-image-generator-5.18.0.jar 68KB
antlr-2.7.6.jar 433KB
slf4j-api-1.7.5.jar 25KB
c3p0-0.9.1.jar 594KB
index.jsp 363B
.settings
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.common.project.facet.core.xml 345B
org.eclipse.wst.common.component 628B
org.eclipse.wst.jsdt.ui.superType.container 49B
.jsdtscope 567B
org.eclipse.jdt.core.prefs 364B
src
com
po
test
mapper
.project 907B
.classpath 1017B
build
classes
web_process01.png 6KB
jdbc.properties 311B
log4j.properties 700B
com
po
test
Test01.class 3KB
mapper
web_process01.bpmn 3KB
sqlMapcfg.xml 1KB
springMVC.xml 5KB
applicationContext.xml 5KB
共 90 条
- 1
资源评论
- oZhuYing122019-04-23什么都没有,别浪费积分
- 沙漠飘雪2021-07-22可以参考一下
编程录
- 粉丝: 27
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功