zoukankan      html  css  js  c++  java
  • SSH整合所需jar

    Struts2.1.8+Hibernate3.2+Spring4.1.6+MySql

     1 ant-1.6.5.jar
     2 ant-antlr-1.6.5.jar
     3 ant-junit-1.6.5.jar
     4 ant-launcher-1.6.5.jar
     5 ant-swing-1.6.5.jar
     6 antlr-2.7.6.jar
     7 asm-attrs.jar
     8 asm.jar
     9 aspectjrt.jar
    10 aspectjweaver.jar
    11 c3p0-0.9.0.jar
    12 cglib-2.1.3.jar
    13 checkstyle-all.jar
    14 cleanimports.jar
    15 commons-collections-2.1.1.jar
    16 commons-fileupload-1.2.1.jar
    17 commons-io-1.3.2.jar
    18 commons-logging.jar
    19 concurrent-1.3.2.jar
    20 connector.jar
    21 dom.jar
    22 dom4j-1.6.1.jar
    23 ehcache-1.2.jar
    24 freemarker-2.3.15.jar
    25 hibernate3.jar
    26 jaas.jar
    27 jacc-1_0-fr.jar
    28 javassist.jar
    29 javax.servlet.jsp.jstl.jar
    30 jaxen-1.1-beta-7.jar
    31 jaxen-full.jar
    32 jaxp-api.jar
    33 jboss-cache.jar
    34 jboss-common.jar
    35 jboss-jmx.jar
    36 jboss-system.jar
    37 jdbc2_0-stdext.jar
    38 jgroups-2.2.8.jar
    39 jstl-impl.jar
    40 jstl.jar
    41 jta.jar
    42 junit-3.8.1.jar
    43 log4j-1.2.14.jar
    44 mail.jar
    45 mysql-connector-java-5.0.6-bin.jar
    46 ognl-2.7.3.jar
    47 oscache-2.1.jar
    48 proxool-0.8.3.jar
    49 sax.jar
    50 saxpath.jar
    51 spring.jar
    52 standard.jar
    53 struts2-core-2.1.8.jar
    54 struts2-spring-plugin-2.1.8.jar
    55 swarmcache-1.0rc2.jar
    56 syndiag2.jar
    57 versioncheck.jar
    58 xalan.jar
    59 xerces-2.6.2.jar
    60 xercesImpl.jar
    61 xml-apis.jar
    62 xwork-core-2.1.6.jar
    View Code
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 
     3 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"  
     4     xmlns:tx="http://www.springframework.org/schema/tx" xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util" xmlns:jdbc="http://www.springframework.org/schema/jdbc"  
     5     xmlns:cache="http://www.springframework.org/schema/cache"  
     6     xsi:schemaLocation="  
     7     http://www.springframework.org/schema/context  
     8     http://www.springframework.org/schema/context/spring-context.xsd  
     9     http://www.springframework.org/schema/beans  
    10     http://www.springframework.org/schema/beans/spring-beans.xsd  
    11     http://www.springframework.org/schema/tx  
    12     http://www.springframework.org/schema/tx/spring-tx.xsd  
    13     http://www.springframework.org/schema/jdbc  
    14     http://www.springframework.org/schema/jdbc/spring-jdbc-3.1.xsd  
    15     http://www.springframework.org/schema/cache  
    16     http://www.springframework.org/schema/cache/spring-cache-3.1.xsd  
    17     http://www.springframework.org/schema/aop  
    18     http://www.springframework.org/schema/aop/spring-aop.xsd  
    19     http://www.springframework.org/schema/util  
    20     http://www.springframework.org/schema/util/spring-util.xsd">     
    21     <!-- 配置SessionFactory -->
    22     <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
    23         <property name="configLocation" value="classpath:hibernate.cfg.xml"/>
    24     </bean>
    25     
    26     <!-- 配置事物管理器 -->
    27     <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
    28         <property name="sessionFactory" ref="sessionFactory"/>
    29     </bean>
    30     
    31     <!-- 配置事物的传播特性 -->
    32     <tx:advice id="txAdvice" transaction-manager="transactionManager">
    33         <tx:attributes>
    34             <tx:method name="*add*" propagation="REQUIRED"/>
    35             <tx:method name="*del*" propagation="REQUIRED"/>
    36             <tx:method name="*update*" propagation="REQUIRED"/>
    37             <tx:method name="*" propagation="REQUIRED" read-only="true"/>
    38         </tx:attributes>
    39     </tx:advice>
    40     
    41     <!-- 配置哪些类哪些方法使用事物 -->
    42     <aop:config>
    43         <aop:pointcut id="allManagerMethod" expression="execution(* dao.*.*(..))"/>
    44         <aop:advisor advice-ref="txAdvice" pointcut-ref="allManagerMethod"/>
    45     </aop:config>
    46 </beans>
    applicationContext.xml

    Struts2.3.16+Hibernate4.3.4+Spring4.0.2+MySql

     1 antlr-2.7.7.jar
     2 aopalliance-1.0.jar
     3 asm-3.3.jar
     4 asm-commons-3.3.jar
     5 c3p0-0.9.1.2.jar
     6 commons-beanutils-1.8.0.jar
     7 commons-collections-3.1.jar
     8 commons-fileupload-1.3.1.jar
     9 commons-io-2.2.jar
    10 commons-lang3-3.2.jar
    11 commons-logging-1.1.3.jar
    12 dom4j-1.6.1.jar
    13 ehcache-core-2.4.5.jar
    14 ezmorph-1.0.6.jar
    15 freemarker-2.3.22.jar
    16 hibernate-c3p0-5.0.1.Final.jar
    17 hibernate-commons-annotations-5.0.0.Final.jar
    18 hibernate-core-5.0.1.Final.jar
    19 hibernate-ehcache-5.0.1.Final.jar
    20 hibernate-jpa-2.1-api-1.0.0.Final.jar
    21 jandex-1.2.2.Final.jar
    22 javassist-3.11.0.GA.jar
    23 javassist-3.18.1-GA.jar
    24 jboss-logging-3.3.0.Final.jar
    25 jboss-transaction-api_1.1_spec-1.0.1.Final.jar
    26 mchange-commons-java-0.2.3.4.jar
    27 mysql-connector-java-5.0.6-bin.jar
    28 slf4j-api-1.5.8.jar
    29 spring-aop-4.0.2.RELEASE.jar
    30 spring-aspects-4.0.2.RELEASE.jar
    31 spring-beans-4.0.2.RELEASE.jar
    32 spring-context-4.0.2.RELEASE.jar
    33 spring-context-support-4.0.2.RELEASE.jar
    34 spring-core-4.0.2.RELEASE.jar
    35 spring-expression-4.0.2.RELEASE.jar
    36 spring-jdbc-4.0.2.RELEASE.jar
    37 spring-orm-4.0.2.RELEASE.jar
    38 spring-tx-4.0.2.RELEASE.jar
    39 spring-web-4.0.2.RELEASE.jar
    40 spring-webmvc-4.0.2.RELEASE.jar
    41 struts2-core-2.3.24.jar
    42 struts2-spring-plugin-2.3.24.jar
    43 xwork-core-2.3.24.jar
    View Code
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 
     3 <beans xmlns="http://www.springframework.org/schema/beans"
     4          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     5          xmlns:aop="http://www.springframework.org/schema/aop"
     6          xmlns:tx="http://www.springframework.org/schema/tx"
     7          xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
     8            http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
     9            http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.0.xsd">
    10     <!-- 配置SessionFactory -->
    11     <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
    12         <property name="configLocation" value="classpath:hibernate.cfg.xml"/>
    13     </bean>
    14     
    15     <!-- 配置事物管理器 -->
    16     <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
    17         <property name="sessionFactory" ref="sessionFactory"/>
    18     </bean>
    19     
    20     <!-- 配置事物的传播特性 -->
    21     <tx:advice id="txAdvice" transaction-manager="transactionManager">
    22         <tx:attributes>
    23             <tx:method name="*add*" propagation="REQUIRED"/>
    24             <tx:method name="*del*" propagation="REQUIRED"/>
    25             <tx:method name="*update*" propagation="REQUIRED"/>
    26             <tx:method name="*" propagation="REQUIRED" read-only="true"/>
    27         </tx:attributes>
    28     </tx:advice>
    29     
    30     <!-- 配置哪些类哪些方法使用事物 -->
    31     <aop:config>
    32         <aop:pointcut id="allManagerMethod" expression="execution(* dao.*.*(..))"/>
    33         <aop:advisor advice-ref="txAdvice" pointcut-ref="allManagerMethod"/>
    34     </aop:config>
    35 </beans>
    applicationContext.xml
  • 相关阅读:
    <转>Npoi导入导出Excel操作<载>
    将DataTable导出为Excel C#
    错误 X “X1”不包含“XX2”的定义,并且找不到可接受类型为“X1”的第一个参数的扩展方法“XX2”(是否缺少 using 指令或程序集引用?)
    错误 1 未知的服务器标记“asp:ScriptManager”。
    分析器错误消息: 类型“test.test.testx”不明确: 它可能来自程序集“F: estProjectin est.test.DLL”或程序集“F: estProjectin estProject.DLL”。请在类型名称中显式指定程序集。
    There are no interfaces on which a capture can be done.
    基础知识系列☞GET和POST→及相关知识
    基础知识系列☞Abstract和Virtual→及相关知识
    同源策略
    26Mybatis_一级缓存及其测试
  • 原文地址:https://www.cnblogs.com/zhengbin/p/5240780.html
Copyright © 2011-2022 走看看