SpringMVC+Spring+Mybatis整合配置

   
 
   
  xmlns="http://www.w3.org/1999/xhtml">
   
 
   
  rel="canonical" href="http://blog.csdn.net/zmx729618/article/details/51895826"/>
  http-equiv="Cache-Control" content="no-siteapp" />rel="alternate" media="handheld" href="#" />
   
  name="shenma-site-verification" content="5a59773ab8077d4a62bf469ab966a63b_1497598848">
   
  </span>SpringMVC+Spring+Mybatis整合配置 - 零度的博客专栏</td> </tr> <tr> <td class="line-number"> </td> <td class="line-content">- 博客频道 - CSDN.NET<span class="html-tag">
  http-equiv="Content-Type" content="text/html; charset=utf-8" />
  name="description" content="1、Maven依赖文件:pom.xml<project xmlns=http://maven.apache.org/POM/4.0.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apach" />
   
  name="keywords" content="spring,spring mvc,Mybatis" />
   
   
 
   
   
 
 
   
 
   
 
   
  rel="Stylesheet" type="text/css" href="http://static.blog.csdn.net/skin/default/css/style.css?v=1.1" />
   
   
   
  id="RSSLink" title="RSS" type="application/rss+xml" rel="alternate" href="/zmx729618/rss/list" />
  rel="shortcut icon" href="http://c.csdnimg.cn/public/favicon.ico" />
  type="text/css" rel="stylesheet" href="http://static.blog.csdn.net/scripts/SyntaxHighlighter/styles/default.css" />
   
   
   
   
   
  href="http://c.csdnimg.cn/blog/csdn_public_blog_detail.min.css" type="text/css" rel="stylesheet" />
   
  rel="stylesheet" href="http://static.blog.csdn.net/css/csdn_blog_detail.min.css" />
   
   
   
   
 
 
   
 
   
   
 
 
class="tracking-ad" data-view="true" data-mod="ad_popu_72" data-mtp="62" data-order="40" data-con="ad_content_2072" >
 
 
id="layerd" style="position: fixed;bottom:0px;right:0px;line-height:0px;z-index:1000">
 
class="J_close layer_close" style="display:;background-color:#efefef;padding:0px;color:#333;font:12px/24px Helvetica,Tahoma,Arial,sans-serif;text-align:right;">关闭
id="cpro_u2895327">
 
   
 
   
 
   
 
   
   
   
 
 
 
 
id="container">
 
id="header">
 
class="header">
 
id="blog_title">
 

  href="http://blog.csdn.net/zmx729618">零度的博客专栏
 

全栈式学徒长成记--工欲善其事必先利其器,不积小流无以成江海,不积跬步无以至千里!

 
class="clear">
 
 
 
class="clear">
 
   
   
 
 
 
id="navigator">
 
class="navigator_bg">
 
 
class="navigator">
 
     
  • id="btnContents">href="http://blog.csdn.net/zmx729618?viewmode=contents">onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_mulu'])">
  •   src="http://static.blog.csdn.net/images/ico_list.gif">目录视图
     
  • id="btnView">href="http://blog.csdn.net/zmx729618?viewmode=list">onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_zhaiyao'])">
  •   src="http://static.blog.csdn.net/images/ico_summary.gif">摘要视图
     
  • id="btnRss">href="http://blog.csdn.net/zmx729618/rss/list">onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_RSS'])">
  •   src="http://static.blog.csdn.net/images/ico_rss.gif">订阅
       
       
     
     
     
     
       
     
    id="body">
     
    id="main">
     
    class="main">
     
    class="ad_class">
     
    class="notice tracking-ad" data-mod='popu_3' >
       
       
      href="http://blog.csdn.net/blogdevteam/article/details/72917467">
      color=red>征文 | 从高考,到程序员
       
          
       
      href="http://blog.csdn.net/blogdevteam/article/details/73817254">
      color=blue>CSDN日报20170627——《回眸后那流泪的脸——从高考到程序猿》
          
       
       
      href="http://blog.csdn.net/turingbooks/article/details/73480804">
      color=red>6 月书讯 | 最受欢迎的 SQL 入门书重磅升级
       
       
     
       
       
       
       
       
       
       
       
       
       
       
     
       
     
     
    id="article_details" class="details">
     
    class="article_title">
      class="ico ico_type_Original">
       
       
     

      class="link_title">href="/zmx729618/article/details/51895826">
      SpringMVC+Spring+Mybatis整合配置
     
     
     
       
       
       
     
    class="article_manage clearfix">
     
    class="article_l">
      class="link_categories">
      标签:
      href='http://www.csdn.net/tag/spring' target=_blank onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">springhref='http://www.csdn.net/tag/spring%20mvc' target=_blank onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">spring mvchref='http://www.csdn.net/tag/Mybatis' target=_blank onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_tag']);">Mybatis
     
     
     
    class="article_r">
      class="link_postdate">2016-07-13 11:18
      class="link_view" title="阅读次数">665人阅读
      class="link_comments" title="评论次数"> href="#comments" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_pinglun'])">评论(0)
      class="link_collect tracking-ad" data-mod="popu_171"> href="javascript:void(0);" onclick="javascript:collectArticle('SpringMVC%2bSpring%2bMybatis%e6%95%b4%e5%90%88%e9%85%8d%e7%bd%ae','51895826');return false;" title="收藏">收藏
      class="link_report"> href="#report" onclick="javascript:report(51895826,2);return false;" title="举报">举报
       
     
     
     
    class="embody" style="display:none" id="embody">
      class="embody_t">本文章已收录于:
     
    class="embody_c" id="lib" value="{"err":0,"msg":"ok","data":[]}">
     
     
     
     
    class="category clearfix">
     
    class="category_l">
      src="http://static.blog.csdn.net/images/category_icon.jpg">
      分类:
     
     
    class="category_r">
      ="GetCategoryArticles('6309398','zmx729618','top','51895826');">
      onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_fenlei']);">Mybatis(6)
      class="arrow-down" src="http://static.blog.csdn.net/images/arrow_triangle _down.jpg" style="display:inline;">
      class="arrow-up" src="http://static.blog.csdn.net/images/arrow_triangle_up.jpg" style="display:none;">
     
    class="subItem">
     
     
      class="subItem_l" id="top_6309398">
     
     
     
      ="GetCategoryArticles('3108443','zmx729618','top','51895826');">
      onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_fenlei']);">Java(125)
      class="arrow-down" src="http://static.blog.csdn.net/images/arrow_triangle _down.jpg" style="display:inline;">
      class="arrow-up" src="http://static.blog.csdn.net/images/arrow_triangle_up.jpg" style="display:none;">
     
    class="subItem">
     
     
      class="subItem_l" id="top_3108443">
     
     
     
      ="GetCategoryArticles('6168885','zmx729618','top','51895826');">
      onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_fenlei']);">Spring(26)
      class="arrow-down" src="http://static.blog.csdn.net/images/arrow_triangle _down.jpg" style="display:inline;">
      class="arrow-up" src="http://static.blog.csdn.net/images/arrow_triangle_up.jpg" style="display:none;">
     
    class="subItem">
     
     
      class="subItem_l" id="top_6168885">
     
     
     
     
     
     
    class="bog_copyright">
     

    class="copyright_p" >版权声明:本文为博主原创文章,未经博主允许不得转载。

     
       
       
       
       
       
       
       
       
     
    id="article_content" class="article_content tracking-ad" data-mod=popu_307 data-dsm = "post" >
       
     

    1、Maven依赖文件:pom.xml

     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_1_4959713" class="html" name="code" snippet_file_name="blog_20160713_1_4959713" code_snippet_id="1759641"><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>org.nercita.ltxx</groupId>
      <artifactId>ssm.sample</artifactId>
      <packaging>war</packaging>
      <version>0.0.1-SNAPSHOT</version>
      <name>ssm</name>
      <url>http://maven.apache.org</url>
       
      <properties>
      <mysql.connector.version>5.1.21</mysql.connector.version>
      <spring.version>4.1.6.RELEASE</spring.version>
      <spring.security.version>3.2.3.RELEASE</spring.security.version>
      <junit.version>4.12</junit.version>
      <velocity.version>1.6.1</velocity.version>
      <velocity.tools.version>2.0</velocity.tools.version>
      <mock.version>2.0.8</mock.version>
      <mybatis.version>3.3.1</mybatis.version>
      <mybatis-spring.version>1.2.2</mybatis-spring.version>
      </properties>
       
      <dependencies>
      <!-- velocity -->
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context-support</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <dependency>
      <groupId>org.apache.velocity</groupId>
      <artifactId>velocity</artifactId>
      <version>${velocity.version}</version>
      </dependency>
      <dependency>
      <groupId>org.apache.velocity</groupId>
      <artifactId>velocity-tools</artifactId>
      <version>${velocity.tools.version}</version>
      </dependency>
       
      <!-- jsp support -->
      <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>javax.servlet-api</artifactId>
      <version>3.1.0</version>
      <scope>provided</scope>
      </dependency>
       
      <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>jstl</artifactId>
      <version>1.2</version> <!-- just used the latest version, make sure you use the one you need -->
      <scope>provided</scope>
      </dependency>
       
      <!-- test support -->
      <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${junit.version}</version>
      <scope>test</scope>
      </dependency>
       
       
      <!-- mybatis support -->
      <dependency>
      <groupId>org.mybatis</groupId>
      <artifactId>mybatis</artifactId>
      <version>${mybatis.version}</version>
      </dependency>
       
      <dependency>
      <groupId>org.mybatis</groupId>
      <artifactId>mybatis-spring</artifactId>
      <version>${mybatis-spring.version}</version>
      </dependency>
       
      <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-dbcp2</artifactId>
      <version>2.0</version>
      </dependency>
       
      <dependency>
      <groupId>mysql</groupId>
      <artifactId>mysql-connector-java</artifactId>
      <version>${mysql.connector.version}</version>
      </dependency>
       
      <!-- Spring support -->
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-core</artifactId>
      <version>${spring.version}</version>
      </dependency>
       
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-aop</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context-support</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-jdbc</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-beans</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-web</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-expression</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-orm</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-oxm</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-aspects</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-tx</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-test</artifactId>
      <version>${spring.version}</version>
      </dependency>
      <!-- spring mvc -->
      <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-webmvc</artifactId>
      <version>${spring.version}</version>
      </dependency>
       
       
       
      <!-- spring security -->
      <dependency>
      <groupId>org.springframework.security</groupId>
      <artifactId>spring-security-core</artifactId>
      <version>${spring.security.version}</version>
      </dependency>
       
      <dependency>
      <groupId>org.springframework.security</groupId>
      <artifactId>spring-security-config</artifactId>
      <version>${spring.security.version}</version>
      </dependency>
       
      <dependency>
      <groupId>org.springframework.security</groupId>
      <artifactId>spring-security-taglibs</artifactId>
      <version>${spring.security.version}</version>
      </dependency>
       
      <dependency>
      <groupId>org.springframework.security</groupId>
      <artifactId>spring-security-web</artifactId>
      <version>${spring.security.version}</version>
      </dependency>
       
      <!-- aspectj weaver.jar 这是SpringAOP所要用到的依赖包 -->
      <dependency>
      <groupId>org.aspectj</groupId>
      <artifactId>aspectjweaver</artifactId>
      <version>1.8.2</version>
      </dependency>
      <dependency>
      <groupId>org.aspectj</groupId>
      <artifactId>aspectjrt</artifactId>
      <version>1.8.2</version>
      </dependency>
       
      </dependencies>
      <build>
      <finalName>ssm</finalName>
      </build>
      </project>
     
     

    class="html" name="code">

       

     

    2、web.xml

     

           web.xml规定了有哪些显式的servlet,规定了最顶层的Context环境,是整个的纲领。它同时规定了对于哪些URL的请求归哪些servlet处理,哪些URL使用哪种编码方式。需要注意的是,对于没有人为指定配置文件的servlet,会自动在WEB-INF文件夹下找servletName-servlet.xml的文件作为其配置。

     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_2_150164" class="html" name="code" snippet_file_name="blog_20160713_2_150164" code_snippet_id="1759641"><?xml version="1.0" encoding="UTF-8"?>
      <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
       
      <display-name>SSM Web Application</display-name>
       
      <context-param>
      <param-name>contextConfigLocation</param-name>
      <param-value>classpath*:applicationContext.xml</param-value>
      <!--指定Context的配置文件-->
      </context-param>
       
      <!-- spring ContextLoaderListener 监听器 -->
      <listener>
      <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
      </listener>
       
      <!-- 编码过滤器 -->
      <filter>
      <filter-name>characterEncodingFilter</filter-name>
      <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
      <init-param>
      <param-name>encoding</param-name>
      <param-value>UTF-8</param-value>
      </init-param>
      <init-param>
      <param-name>forceEncoding</param-name>
      <param-value>true</param-value>
      </init-param>
      </filter>
       
      <filter-mapping>
      <filter-name>characterEncodingFilter</filter-name>
      <url-pattern>/*</url-pattern>
      </filter-mapping>
       
      <!-- spring mvc DispatcherServlet -->
      <servlet>
      <servlet-name>ssm</servlet-name>
      <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
      <init-param>
      <param-name>contextConfigLocation</param-name>
      <param-value>classpath:config/webmvc-config.xml</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
      </servlet>
       
      <servlet-mapping>
      <servlet-name>ssm</servlet-name>
      <url-pattern>/</url-pattern>
      </servlet-mapping>
       
       
       
       
      </web-app>
     
     


       

     

    3、applicationContext.xml

     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_3_3912155" class="html" name="code" snippet_file_name="blog_20160713_3_3912155" code_snippet_id="1759641"><?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:aop="http://www.springframework.org/schema/aop"
      xmlns:context="http://www.springframework.org/schema/context"
      xmlns:jee="http://www.springframework.org/schema/jee"
      xmlns:tx="http://www.springframework.org/schema/tx"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-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
      http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-4.0.xsd
      http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd">
      <!-- 引入属性文件 -->
      <context:property-placeholder location="classpath*:/application.properties" />
       
      <context:spring-configured />
       
      <!-- 注解bean及依赖注入 -->
      <context:component-scan base-package="com.zmx.ssm">
      <context:exclude-filter expression="org.springframework.stereotype.Controller" type="annotation" />
      </context:component-scan>
       
      <!--数源设置-->
      <bean id="dataSource" class="org.apache.commons.dbcp2.BasicDataSource"
      destroy-method="close">
      <property name="driverClassName" value="${db.driverClass}" />
      <property name="url" value="${db.url}" />
      <property name="username" value="${db.username}" />
      <property name="password" value="${db.password}" />
      </bean>
       
      <!--sqlSessionFactory-->
      <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
      <property name="dataSource" ref="dataSource" />
      <!--指定了Mybatis配置文件的路径-->
      <property name="configLocation" value="classpath:mybatis-config.xml"/>
      </bean>
       
       
      <bean id="sqlSession" class="org.mybatis.spring.SqlSessionTemplate">
      <constructor-arg index="0" ref="sqlSessionFactory" />
      </bean>
       
      <!--这一段让我们的MapperInterface能够最终在Spring中生成Bean最后被AutoWired-->
      <bean class="org.mybatis.spring.mapper.MapperScannerConfigurer">
      <property name="basePackage" value="com.zmx.ssm.**.dao" />
      </bean>
       
      <bean id="transactionManager"
      class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
      <property name="dataSource" ref="dataSource" />
      </bean>
       
      <!-- 开启注解事务 -->
      <tx:annotation-driven transaction-manager="transactionManager"/>
      </beans>
     
     

    class="html" name="code">

      application.properties

     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_4_9310348" class="html" name="code" snippet_file_name="blog_20160713_4_9310348" code_snippet_id="1759641">#Mysql settings
      db.url=jdbc:mysql://localhost:3306/ssm
      db.driverClass=com.mysql.jdbc.Driver
      db.username=root
      db.password=0729
     

    class="html" name="code"> 

     

    class="html" name="code">4、mvc-config.xml

     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_5_1992545" class="html" name="code" snippet_file_name="blog_20160713_5_1992545" code_snippet_id="1759641"><?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:context="http://www.springframework.org/schema/context"
      xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      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/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd">
       
       
       
      <!--处理对静态资源的访问-->
      <mvc:resources location="/common/" mapping="/common/**"/>
      <mvc:resources location="/images/" mapping="/images/**" />
      <mvc:resources location="/js/" mapping="/js/**" />
      <mvc:resources location="/css/" mapping="/css/**" />
      <mvc:resources location="/styles/" mapping="/styles/**" />
      <mvc:resources location="/htm/" mapping="/htm/**" />
       
      <import resource="view-controller.xml" />
       
      <context:annotation-config/>
       
      <context:component-scan base-package="com.zmx.ssm" use-default-filters="false">
      <context:include-filter expression="org.springframework.stereotype.Controller" type="annotation" />
      </context:component-scan>
       
      <!--规定模板文件的类型和位置-->
      <bean id="velocityConfigurer"
      class="org.springframework.web.servlet.view.velocity.VelocityConfigurer">
      <property name="resourceLoaderPath" value="templates/" />
      <property name="velocityProperties">
      <props>
      <prop key="input.encoding">utf-8</prop>
      <prop key="output.encoding">utf-8</prop>
      </props>
      </property>
      </bean>
       
      <!--配置附加工具,以及将后缀为vm的文件交给下面的Resolver处理-->
      <bean id="velocityViewResolver"
      class="org.springframework.web.servlet.view.velocity.VelocityViewResolver">
      <property name="suffix" value=".vm" />
      <property name="contentType" value="text/html;charset=utf-8" />
      <property name="toolboxConfigLocation" value="/WEB-INF/toolbox.xml"/>
      </bean>
       
       
      </beans>
     
     

    class="html" name="code">

       

     

     

     

    5、Mybatis配置:mybatis-config.xml

     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_6_7947145" class="html" name="code" snippet_file_name="blog_20160713_6_7947145" code_snippet_id="1759641"><?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN"
      "http://mybatis.org/dtd/mybatis-3-config.dtd">
      <configuration>
      <typeAliases>
      <package name="com.zmx.ssm.user.domain"/>
      </typeAliases>
      <mappers>
      <mapper resource="mapper/UserMapper.xml" />
      <mapper resource="mapper/OrderMapper.xml"/>
      </mappers>
       
       
      <!--
      <typeAliases>
      <package name="com.zmx.ssm.user.domain"/>
      </typeAliases>
      <environments default="development">
      <environment id="development">
      <transactionManager type="JDBC"/>
      <dataSource type="POOLED">
      <property name="driver" value="com.mysql.jdbc.Driver"/>
      <property name="url" value="jdbc:mysql://localhost:3306/ssm"/>
      <property name="username" value="root"/>
      <property name="password" value="0729"/>
      </dataSource>
      </environment>
      </environments>
      <mappers>
      <mapper resource="mapper/UserMapper.xml"/>
      <mapper resource="mapper/OrderMapper.xml"/>
      </mappers>
      -->
       
       
       
      </configuration>
     

    class="html" name="code">

       

     


      6、velocity模板引擎:toolbox.xml 
     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_6_4328437" class="html" name="code" snippet_file_name="blog_20160713_6_4328437" code_snippet_id="1759641"><?xml version="1.0" encoding="UTF-8"?>
      <toolbox>
      <tool>
      <key>date</key>
      <scope>request</scope>
      <class>
      org.apache.velocity.tools.generic.DateTool
      </class>
      <parameter name="format" value="yyyy-MM-dd HH:mm:ss"/>
      </tool>
      <tool>
      <key>link</key>
      <scope>request</scope>
      <class>org.apache.velocity.tools.view.tools.LinkTool</class>
      </tool>
      <tool>
      <key>stringUtils</key>
      <scope>request</scope>
      <class>org.apache.velocity.util.StringUtils</class>
      </tool>
      <tool>
      <key>math</key>
      <scope>application</scope>
      <class>org.apache.velocity.tools.generic.MathTool</class>
      </tool>
      <tool>
      <key>esc</key>
      <scope>request</scope>
      <class>org.apache.velocity.tools.generic.EscapeTool</class>
      </tool>
      <tool>
      <key>params</key>
      <scope>request</scope>
      <class>org.apache.velocity.tools.view.tools.ParameterParser</class>
      </tool>
      </toolbox>
     
     


      7、实体Bean
     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_7_6254253" class="html" name="code" snippet_file_name="blog_20160713_7_6254253" code_snippet_id="1759641">package com.zmx.ssm.user.domain;
       
       
      import java.util.List;
       
      public class User {
      private int id;
      private String account;
      private String password;
      private List<Order> orderList;
       
      public int getId() {
      return id;
      }
      public void setId(int id) {
      this.id = id;
      }
      public String getAccount() {
      return account;
      }
      public void setAccount(String account) {
      this.account = account;
      }
      public String getPassword() {
      return password;
      }
      public void setPassword(String password) {
      this.password = password;
      }
      public List<Order> getOrderList() {
      return orderList;
      }
      public void setOrderList(List<Order> orderList) {
      this.orderList = orderList;
      }
      @Override
      public String toString() {
      return "User [id=" + id + ", account=" + account + ", password="
      + password + "]";
      }
       
       
       
       
      }
     
     


       

     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_8_8413060" class="html" name="code" snippet_file_name="blog_20160713_8_8413060" code_snippet_id="1759641">package com.zmx.ssm.user.domain;
       
      public class Order {
       
      private int id;
      private double price;
      private User user;
       
      public int getId() {
      return id;
      }
      public void setId(int id) {
      this.id = id;
      }
      public double getPrice() {
      return price;
      }
      public void setPrice(double price) {
      this.price = price;
      }
      public User getUser() {
      return user;
      }
      public void setUser(User user) {
      this.user = user;
      }
      @Override
      public String toString() {
      return "Order [id=" + id + ", price=" + price + "]";
      }
       
       
       
       
      }
     
     


       

     

    8、Mybatis映射文件

     

    UserMapper.xml

     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_10_8568027" class="html" name="code" snippet_file_name="blog_20160713_10_8568027" code_snippet_id="1759641"><?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE mapper
      PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
      "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
       
      <mapper namespace="com.zmx.ssm.user.domain.User">
       
      <resultMap id="userResultMap" type="com.zmx.ssm.user.domain.User" >
      <id column="u_id" property="id"/>
      <result column="account" property="account"/>
      <result column="password" property="password"/>
      <collection property="orderList" javaType="ArrayList" ofType="com.zmx.ssm.user.domain.Order" column="u_id">
      <id column="o_id" property="id"/>
      <result column="price" property="price"/>
      </collection>
       
      </resultMap>
       
      <select id="selectUserFetchOrder" parameterType="int" resultMap="userResultMap" >
      select u.*, o.* from t_user u, t_order o where o.u_id=u.u_id and u.u_id=#{id}
      </select>
       
      <insert id="addUser" parameterType="User">
      insert into t_user(u_id, account, password) values(#{id}, #{account}, #{password})
      </insert>
       
       
      </mapper>
     

    class="html" name="code">

       

     

    OrderMapper.xml

     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_10_4018215" class="html" name="code" snippet_file_name="blog_20160713_10_4018215" code_snippet_id="1759641"><?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE mapper
      PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
      "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
       
      <mapper namespace="com.zmx.ssm.user.domain.Order" >
      <resultMap id="orderResultMap" type="com.zmx.ssm.user.domain.Order" >
      <id column="o_id" property="id"/>
      <result column="price" property="price"/>
      <association property="user" javaType="com.zmx.ssm.user.domain.User" column="u_id">
      <id column="u_id" property="id"/>
      <result column="account" property="account"/>
      <result column="password" property="password"/>
      </association>
      </resultMap>
       
      <select id="selectOrderFetchUser" parameterType="int" resultMap="orderResultMap">
      select u.*,o.* from t_user u, t_order o where o.u_id=u.u_id and o.o_id=#{id}
      </select>
       
      </mapper>
     


       

     

    9、UserDao.java

     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_12_9505335" class="html" name="code" snippet_file_name="blog_20160713_12_9505335" code_snippet_id="1759641">package com.zmx.ssm.user.dao;
       
      import javax.annotation.Resource;
       
      import org.mybatis.spring.SqlSessionTemplate;
      import org.springframework.stereotype.Repository;
       
      import com.zmx.ssm.user.domain.User;
       
      @Repository
      public class UserDao {
      @Resource(name="sqlSession")
      private SqlSessionTemplate sqlSession;
       
      public void addUser(User user) {
       
      sqlSession.insert("addUser",user);
      }
       
      }
     
     


       

     

     

     

    10、使用Spring-test测试

     
     code_snippet_id="1759641"  snippet_file_name="blog_20160713_13_6855377" class="html" name="code" snippet_file_name="blog_20160713_13_6855377" code_snippet_id="1759641">package test.com.zmx.ssm.user;
      import org.junit.Test;
      import org.junit.runner.RunWith;
      import org.springframework.beans.factory.annotation.Autowired;
      import org.springframework.test.context.ContextConfiguration;
      import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
      import org.springframework.test.context.transaction.TransactionConfiguration;
      import org.springframework.transaction.annotation.Transactional;
       
      import com.zmx.ssm.user.dao.UserDao;
      import com.zmx.ssm.user.domain.User;
       
       
       
      @RunWith(SpringJUnit4ClassRunner.class)
      @ContextConfiguration(locations={"classpath:applicationContext.xml"})
      @TransactionConfiguration(transactionManager="transactionManager",defaultRollback=false)
      @Transactional
      public class UserDaoTest {
       
      @Autowired
      private UserDao userDao;
       
      @Test
      public void testInsert() {
      User user=new User();
      user.setId(3);
      user.setAccount("manager");
      user.setPassword("123456");
      userDao.addUser(user);
      }
       
       
      }
     
     


       

     

     

     

    11、小结

     

    Spring常用的注解主要有以下几种:

     
       
    • @Component
    • @Service--业务层
    • @Respority--持久化层
    • @Controller--视图层
    •  

             尽管这几种注解对应的意义不一样,但它们都有一个共同的作用,那就是让Spring找到并且最终生成对应的Bean。举个例子,我们在Service中使用接口UserDAO,但该接口的实例我们并没有指定使用哪一个,虽然我们写了对应的Impl Class。 通过注解生成Bean,Spring就能够在Service调用该接口的时候从容器里得到正确的实体对象。

       

       

       


       
       
       
       

       

         
       
         
         
         
         
       
         
         
         
         
       
      class="bdsharebuttonbox tracking-ad" style="float: right;" data-mod="popu_172">
        href="#" class="bds_more" data-cmd="more" style="background-position:0 0 !important; background-image: url(http://bdimg.share.baidu.com/static/api/img/share/icons_0_16.png?v=d754dcc0.png) !important">
        href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间" style="background-position:0 -52px !important">
        href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"style="background-position:0 -104px !important">
        href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"style="background-position:0 -260px !important">
        href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"style="background-position:0 -208px !important">
        href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"style="background-position:0 -1612px !important" >
       
       
       
         
         
         
         
       
         
       
       
       
       
       
         
         
         
         
         
         
       
      id="digg" ArticleId="51895826" >
       
      id="btnDigg" class="digg digg_enable" onclick="btndigga();">
         
       
       
      0
       
         
         
       
      id="btnBury" class="digg digg_enable" onclick="btnburya();">
         
       
       
      0
       
         
       
       
      class="tracking-ad" data-mod="popu_222">href="javascript:void(0);" > 
       
      class="tracking-ad" data-mod="popu_223"> href="javascript:void(0);" > 
       
         
       
        class="article_next_prev">
       
    • class="prev_article">onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_shangyipian']);location.href='/zmx729618/article/details/51890668';">上一篇href="/zmx729618/article/details/51890668" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_shangyipian'])">Java使用Jacob转换Word为HTML
    •  
    • class="next_article">onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_xiayipian']);location.href='/zmx729618/article/details/51899231';">下一篇href="/zmx729618/article/details/51899231" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_xiayipian'])">MyBatis一对多和多对一
    •  
         
       
      style="clear:both; height:10px;">
         
         
       
      class="similar_article" >
       

       
      class="similar_c"style="margin:20px 0px 0px 0px">
       
      class="similar_c_t">
          相关文章推荐
       
         
       
      class="similar_wrap tracking-ad" data-mod="popu_36" style="max-height:195px;">
       
        class="similar_list fl">
       
    •  
        href="http://blog.csdn.net/iTservlet/article/details/53534371" title="Spring ,Springmvc,mybatis三大框架整合的配置文件支持" strategy="BlogCommendFromCsdn" target="_blank" style="width: 290px;">Spring ,Springmvc,mybatis三大框架整合的配置文件支持
       
       
    •  
        href="http://himo-zhang.iteye.com/blog/2177921" title=" SSM框架——详细整合教程(Spring+SpringMVC+MyBatis) " strategy="BlogCommendFromCsdn" target="_blank" style="width: 290px;"> SSM框架——详细整合教程(Spring+SpringMVC+MyBatis)
       
       
    •  
        href="http://blog.csdn.net/qq_16055765/article/details/51690137" title="SSM(spring+mybatis+springmvc)整合 配置文件" strategy="BlogCommendFromCsdn" target="_blank" style="width: 290px;">SSM(spring+mybatis+springmvc)整合 配置文件
       
       
    •  
        href="http://shaohan126448.iteye.com/blog/2033550" title="springmvc+spring+mybatis整合实例" strategy="BlogCommendFromCsdn" target="_blank" style="width: 290px;">springmvc+spring+mybatis整合实例
       
       
    •  
        href="http://blog.csdn.net/qq_30641447/article/details/51555849" title="springmvc+spring+mybatis整合的配置" strategy="BlogCommendFromCsdn" target="_blank" style="width: 290px;">springmvc+spring+mybatis整合的配置
       
       
       
        class="similar_list fr">
       
    •  
        href="http://blog.csdn.net/brave_xz411/article/details/72935064" title="SSM(Spring,SpringMVC,Mybatis)项目整合配置与应用" strategy="BlogCommendFromCsdn" target="_blank" style="width: 290px;">SSM(Spring,SpringMVC,Mybatis)项目整合配置与应用
       
       
    •  
        href="http://fanjf.iteye.com/blog/1457355" title="MyBatis3整合Spring3、SpringMVC3" strategy="BlogCommendFromCsdn" target="_blank" style="width: 290px;">MyBatis3整合Spring3、SpringMVC3
       
       
    •  
        href="http://blog.csdn.net/mingliangniwo/article/details/42968545" title="javaWeb项目SpringMVC3.2.1与Mybatis3.0.4整合实例(Mybaits-spring配置文件的几种方式)之一SqlSessionDaoSupport方式" strategy="BlogCommendFromCsdn" target="_blank" style="width: 290px;">javaWeb项目SpringMVC3.2.1与Mybatis3.0.4整合实例(Mybaits-spring配置文件的几种方式)之一SqlSessionDaoSupport方式
       
       
    •  
        href="http://20386053.iteye.com/blog/1992214" title="Spring3.3 整合 Hibernate3、MyBatis3.2 配置多数据源/动态切换数据源 方法" strategy="BlogCommendFromCsdn" target="_blank" style="width: 290px;">Spring3.3 整合 Hibernate3、MyBatis3.2 配置多数据源/动态切换数据源 方法
       
       
    •  
        href="http://blog.csdn.net/qq_33913037/article/details/53465944" title="SSM整合配置文件(Springmvc+Spring+Mybatis)" strategy="BlogCommendFromCsdn" target="_blank" style="width: 290px;">SSM整合配置文件(Springmvc+Spring+Mybatis)
       
       
       
       
       
         
       
         
       
         
         
       
       
         
       
         
       
      id="suggest">
       
         
         
       
         
         
         
         
         
       
      class="blog-ass-articl tracking-ad" id="res-relatived" data-mod="popu_84" >
       
      猜你在找
         
         
         
         
         
       
      style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;">
        href="http://edu.csdn.net/huiyiCourse/detail/422?ref=blog&loc=r1" title="深度学习基础与TensorFlow实践" strategy="undefined" target="_blank">深度学习基础与TensorFlow实践
       
       
      style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;">
        href="http://edu.csdn.net/huiyiCourse/series_detail/43?ref=blog&loc=r1" title="【在线峰会】前端开发重点难点技术剖析与创新实践" strategy="undefined" target="_blank">【在线峰会】前端开发重点难点技术剖析与创新实践
       
       
      style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;">
        href="http://edu.csdn.net/huiyiCourse/series_detail/42?ref=blog&loc=r1" title="【在线峰会】一天掌握物联网全栈开发之道" strategy="undefined" target="_blank">【在线峰会】一天掌握物联网全栈开发之道
       
       
      style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;">
        href="http://edu.csdn.net/huiyiCourse/series_detail/41?ref=blog&loc=r1" title="【在线峰会】如何高质高效的进行Android技术开发" strategy="undefined" target="_blank">【在线峰会】如何高质高效的进行Android技术开发
       
       
      style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;">
        href="http://edu.csdn.net/huiyiCourse/detail/404?ref=blog&loc=r1" title="机器学习40天精英计划" strategy="undefined" target="_blank">机器学习40天精英计划
       
       
      style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;">
        href="http://edu.csdn.net/huiyiCourse/detail/402?ref=blog&loc=r1" title="Python数据挖掘与分析速成班" strategy="undefined" target="_blank">Python数据挖掘与分析速成班
       
       
      style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;">
        href="http://edu.csdn.net/course/detail/3011?ref=blog&loc=r1" title="微信小程序开发实战" strategy="undefined" target="_blank">微信小程序开发实战
       
       
      style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;">
        href="http://edu.csdn.net/course/detail/1968?ref=blog&loc=r1" title="JFinal极速开发企业实战" strategy="undefined" target="_blank">JFinal极速开发企业实战
       
       
      style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;">
        href="http://edu.csdn.net/combo/detail/23?ref=blog&loc=r1" title="备战2017软考 系统集成项目管理工程师 学习套餐" strategy="undefined" target="_blank">备战2017软考 系统集成项目管理工程师 学习套餐
       
       
      style="background:url(http://static.blog.csdn.net/skin/default/images/blog-dot-red3.gif) no-repeat 0 10px; white-space: nowrap;">
        href="http://edu.csdn.net/course/detail/3338?ref=blog&loc=r1" title="Python大型网络爬虫项目开发实战(全套)" strategy="undefined" target="_blank">Python大型网络爬虫项目开发实战(全套)
       
         
         
         
         
         
       
         
         
         
         
         
       
      id="ad_cen">
       
       
       
       
       
         
       
       
         
         
       
      class="comment_class">
       
      id="comment_title" class="panel_head">
        class="see_comment">查看评论name="comments">
       
      id="comment_list">
       
       
      id="comment_bar">
       
       
      id="comment_form">
       
       
      class="announce">
        * 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场name="reply">name="quote">
       
         
       
         
       
      id="ad_bot">
       
       
      id="report_dialog">
       
         
       
      id="d-top" style="bottom:60px;">
         
        id="quick-reply" class="btn btn-top q-reply" title="快速回复" style="display:none;">
        src="http://static.blog.csdn.net/images/blog-icon-reply.png" alt="快速回复">
       
        id="d-top-a" class="btn btn-top backtop" style="display: none;" title="返回顶部" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_huidaodingbu'])" style="">
        src="http://static.blog.csdn.net/images/top.png" alt="TOP">
       
       
       
       
         
         
         
         
         
       
      id="pop_win" style="display:none ;position: absolute; z-index: 10000; border: 1px solid rgb(220, 220, 220); top: 222.5px; left: 630px; opacity: 1; background: none 0px 0px repeat scroll rgb(255, 255, 255);">
         
       
       
      id="popup_mask">
       
         
         
         
         
       
         
         
         
         
         
         
         
         
       
      class="clear">
       
       
         
       
         
       
      id="side">
         
       
      class="side">
       
      id="panel_Profile" class="panel">
       
        class="panel_head">个人资料
       
        class="panel_body profile">
       
      id="blog_userface">
        href="http://my.csdn.net/zmx729618" target="_blank">
        src="http://avatar.csdn.net/9/B/D/1_zmx729618.jpg" title="访问我的空间" style="max-width:90%"/>
       
       
        href="http://my.csdn.net/zmx729618" class="user_name" target="_blank">zmx729618
       
       
      class="interact">
         
        href="javascript:void(0);" class="attent" id="span_add_follow" title="[加关注]">
         
        href="javascript:void(0);" class="letter" title="[发私信]" onclick="window.open('http://msg.csdn.net/letters/model?receiver=zmx729618','_blank','height=350,width=700');_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_sixin'])">
       
       
      id="blog_medal">
       
      id="bms_box">
        target="_blank">
        src="http://c.csdnimg.cn/jifen/images/xunzhang/xunzhang/chizhiyiheng.png" onmouseover="m_over_m(this,4)" onmouseout="m_out_m()" alt="1" >
       
       
       
       
        id="blog_rank">
       
    • 访问:684544次
    •  
    • 积分:9237
    •  
    • 等级: style="position:relative;display:inline-block;z-index:1" >
    •   src="http://c.csdnimg.cn/jifen/images/xunzhang/jianzhang/blog6.png" alt="" style="vertical-align: middle;" id="leveImg">
       
      id="smallTittle" style=" position: absolute; left: -24px; top: 25px; text-align: center; width: 101px; height: 32px; background-color: #fff; line-height: 32px; border: 2px #DDDDDD solid; box-shadow: 0px 2px 2px rgba (0,0,0,0.1); display: none; z-index: 999;">
       
      style="left: 42%; top: -8px; position: absolute; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 8px solid #EAEAEA;">
        积分:9237
       
       
    • 排名:第1861名
    •  
       
        id="blog_statistics">
       
    • 原创:138篇
    •  
    • 转载:757篇
    •  
    • 译文:31篇
    •  
    • 评论:86条
    •  
       
       
         
         
       
      class="panel" id="panel_Search">
       
        class="panel_head">文章搜索
       
        class="panel_body" class="form_search">
       
      id="frmSearch" action="http://so.csdn.net/search" class="form_search csdn-tracking-statistics" target="_blank" data-mod="popu_306">
        id="inputSearch" type="text" class="blogsearch" title="请输入关键字" />
        id="btnSubmit" type="button" value="搜索" title="search in blog" />
        type="hidden" name="q" id="inputQ" />
        type="hidden" name="t" value="blog" />
        id="btnSearchBlog" target="_blank">
       
       
       
         
       
      id="panel_Category" class="panel">
       
        class="panel_head">文章分类
       
        class="panel_body">
       
    •   href="/zmx729618/article/category/3108443" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Java(126)
       
       
    •   href="/zmx729618/article/category/3108441" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">数据库(43)
       
       
    •   href="/zmx729618/article/category/5724253" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">数据挖掘算法与原理(6)
       
       
    •   href="/zmx729618/article/category/5735287" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Grails(3)
       
       
    •   href="/zmx729618/article/category/5766023" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">性能优化(8)
       
       
    •   href="/zmx729618/article/category/5767211" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">前台UI(8)
       
       
    •   href="/zmx729618/article/category/6129208" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JVM调优(22)
       
       
    •   href="/zmx729618/article/category/6129610" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">杂谈(4)
       
       
    •   href="/zmx729618/article/category/6151863" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JAXB2(1)
       
       
    •   href="/zmx729618/article/category/6156941" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Javascript(10)
       
       
    •   href="/zmx729618/article/category/6158933" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">IDE使用(1)
       
       
    •   href="/zmx729618/article/category/6160388" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">CSS(1)
       
       
    •   href="/zmx729618/article/category/6162319" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Jquery(11)
       
       
    •   href="/zmx729618/article/category/6168785" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">图形/Highchart(4)
       
       
    •   href="/zmx729618/article/category/6168885" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Spring(27)
       
       
    •   href="/zmx729618/article/category/6169221" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Junit(3)
       
       
    •   href="/zmx729618/article/category/6169359" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JTA(7)
       
       
    •   href="/zmx729618/article/category/6169561" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Javamail(2)
       
       
    •   href="/zmx729618/article/category/6170787" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JMS-ActiveMQ(14)
       
       
    •   href="/zmx729618/article/category/6172648" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Quartz/任务调度(10)
       
       
    •   href="/zmx729618/article/category/6173384" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">SpringSecurity(3)
       
       
    •   href="/zmx729618/article/category/6177525" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JavaUtil工具类(22)
       
       
    •   href="/zmx729618/article/category/6177696" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Java内省/反射(9)
       
       
    •   href="/zmx729618/article/category/6178030" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">类加载器ClassLoader(5)
       
       
    •   href="/zmx729618/article/category/6179246" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Java序列化(1)
       
       
    •   href="/zmx729618/article/category/6179616" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Java克隆(1)
       
       
    •   href="/zmx729618/article/category/6181602" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Java并发编程(56)
       
       
    •   href="/zmx729618/article/category/6185096" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">算法/排序(4)
       
       
    •   href="/zmx729618/article/category/6190018" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">正则表达式(3)
       
       
    •   href="/zmx729618/article/category/6191435" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Http/HttpURLConnection(23)
       
       
    •   href="/zmx729618/article/category/6192897" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">I18N(1)
       
       
    •   href="/zmx729618/article/category/6193126" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JNI(1)
       
       
    •   href="/zmx729618/article/category/6193394" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">POI/JXLS/JXL(13)
       
       
    •   href="/zmx729618/article/category/6193527" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">动态代理(4)
       
       
    •   href="/zmx729618/article/category/6194895" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JNDI(3)
       
       
    •   href="/zmx729618/article/category/6197661" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JSON/JSONP(13)
       
       
    •   href="/zmx729618/article/category/6201064" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Weblogic(1)
       
       
    •   href="/zmx729618/article/category/6201133" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Js/JQuery插件(13)
       
       
    •   href="/zmx729618/article/category/6204432" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Log4j/Log4j2(7)
       
       
    •   href="/zmx729618/article/category/6206615" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JPA/Hibernate(27)
       
       
    •   href="/zmx729618/article/category/6213269" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">事务(6)
       
       
    •   href="/zmx729618/article/category/6215365" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Restful(13)
       
       
    •   href="/zmx729618/article/category/6220066" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">WebService(6)
       
       
    •   href="/zmx729618/article/category/6220621" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Eclipse/MyEclipse(6)
       
       
    •   href="/zmx729618/article/category/6220731" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">exe4j(1)
       
       
    •   href="/zmx729618/article/category/6221899" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Session/Cookie(5)
       
       
    •   href="/zmx729618/article/category/6223467" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">加密/解密(10)
       
       
    •   href="/zmx729618/article/category/6223946" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Java Socket(4)
       
       
    •   href="/zmx729618/article/category/6225091" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">编码/解码(12)
       
       
    •   href="/zmx729618/article/category/6225640" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Linux(12)
       
       
    •   href="/zmx729618/article/category/6225715" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Tomcat(10)
       
       
    •   href="/zmx729618/article/category/6227151" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Servlet/JSP(19)
       
       
    •   href="/zmx729618/article/category/6238076" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Android(3)
       
       
    •   href="/zmx729618/article/category/6243603" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">PHP(2)
       
       
    •   href="/zmx729618/article/category/6244493" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">单点登录CAS(10)
       
       
    •   href="/zmx729618/article/category/6246650" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">设计模式(10)
       
       
    •   href="/zmx729618/article/category/6248665" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">SpringMVC(51)
       
       
    •   href="/zmx729618/article/category/6255075" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Nginx/负载均衡(7)
       
       
    •   href="/zmx729618/article/category/6256762" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Maven(6)
       
       
    •   href="/zmx729618/article/category/6256920" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Comet/Pushlet(8)
       
       
    •   href="/zmx729618/article/category/6264424" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">数据结构与算法(1)
       
       
    •   href="/zmx729618/article/category/6271670" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Cache(4)
       
       
    •   href="/zmx729618/article/category/6292594" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">HttpClient(8)
       
       
    •   href="/zmx729618/article/category/6293253" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">断点续传(1)
       
       
    •   href="/zmx729618/article/category/6295981" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">EJB(2)
       
       
    •   href="/zmx729618/article/category/6296951" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">文件预览(2)
       
       
    •   href="/zmx729618/article/category/6297072" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">BIO/NIO/AIO(22)
       
       
    •   href="/zmx729618/article/category/6300359" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">JSTL(3)
       
       
    •   href="/zmx729618/article/category/6305745" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Spring-Data-JPA(1)
       
       
    •   href="/zmx729618/article/category/6305856" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">EL(2)
       
       
    •   href="/zmx729618/article/category/6305987" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">DOM4J(2)
       
       
    •   href="/zmx729618/article/category/6306113" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">文件上传/下载(9)
       
       
    •   href="/zmx729618/article/category/6309398" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Mybatis(7)
       
       
    •   href="/zmx729618/article/category/6313680" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Ajax(3)
       
       
    •   href="/zmx729618/article/category/6319580" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Mongodb(13)
       
       
    •   href="/zmx729618/article/category/6319651" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">图像处理(5)
       
       
    •   href="/zmx729618/article/category/6347494" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">UML(3)
       
       
    •   href="/zmx729618/article/category/6347779" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Logback(3)
       
       
    •   href="/zmx729618/article/category/6348551" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">WEB安全(5)
       
       
    •   href="/zmx729618/article/category/6349570" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">验证码(1)
       
       
    •   href="/zmx729618/article/category/6349763" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">短信猫(1)
       
       
    •   href="/zmx729618/article/category/6350019" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">压缩解压(2)
       
       
    •   href="/zmx729618/article/category/6350199" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">bat批处理(2)
       
       
    •   href="/zmx729618/article/category/6350581" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">RMI(1)
       
       
    •   href="/zmx729618/article/category/6354054" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Valid(2)
       
       
    •   href="/zmx729618/article/category/6354188" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">java注解(2)
       
       
    •   href="/zmx729618/article/category/6354302" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">ITEXT(2)
       
       
    •   href="/zmx729618/article/category/6354411" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">IDEA(7)
       
       
    •   href="/zmx729618/article/category/6354798" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Java异常处理(1)
       
       
    •   href="/zmx729618/article/category/6355064" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Java泛型(2)
       
       
    •   href="/zmx729618/article/category/6355178" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">OSGI(8)
       
       
    •   href="/zmx729618/article/category/6356217" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Gradle(3)
       
       
    •   href="/zmx729618/article/category/6356796" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Groovy(3)
       
       
    •   href="/zmx729618/article/category/6357082" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">WebSocket(5)
       
       
    •   href="/zmx729618/article/category/6358095" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Git(5)
       
       
    •   href="/zmx729618/article/category/6421973" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">单元测试工具(2)
       
       
    •   href="/zmx729618/article/category/6422060" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Java GC(3)
       
       
    •   href="/zmx729618/article/category/6430276" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Redis(11)
       
       
    •   href="/zmx729618/article/category/6441288" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Hessian(2)
       
       
    •   href="/zmx729618/article/category/6441555" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">mysql(25)
       
       
    •   href="/zmx729618/article/category/6443117" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">微信开发(2)
       
       
    •   href="/zmx729618/article/category/6451404" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">rpc(4)
       
       
    •   href="/zmx729618/article/category/6443229" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Zookeeper(30)
       
       
    •   href="/zmx729618/article/category/6452458" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Hadoop(16)
       
       
    •   href="/zmx729618/article/category/6452147" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">HBase(12)
       
       
    •   href="/zmx729618/article/category/6452148" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Hive(2)
       
       
    •   href="/zmx729618/article/category/6457295" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">sqoop(1)
       
       
    •   href="/zmx729618/article/category/6453114" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">原子变量(7)
       
       
    •   href="/zmx729618/article/category/6455490" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Spring-Boot(1)
       
       
    •   href="/zmx729618/article/category/6462774" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Freemarker(4)
       
       
    •   href="/zmx729618/article/category/6467315" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">node.js(5)
       
       
    •   href="/zmx729618/article/category/6467432" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Drools(1)
       
       
    •   href="/zmx729618/article/category/6468351" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">ZXing(2)
       
       
    •   href="/zmx729618/article/category/6483033" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Lucene(5)
       
       
    •   href="/zmx729618/article/category/6485400" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Jsoup(1)
       
       
    •   href="/zmx729618/article/category/6496024" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">html5(5)
       
       
    •   href="/zmx729618/article/category/6497823" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">thrift(2)
       
       
    •   href="/zmx729618/article/category/6502045" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Protobuf(6)
       
       
    •   href="/zmx729618/article/category/6499288" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">ReactJS(4)
       
       
    •   href="/zmx729618/article/category/6499854" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">AngularJS(11)
       
       
    •   href="/zmx729618/article/category/6503674" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">TestNG(3)
       
       
    •   href="/zmx729618/article/category/6513471" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">web架构(7)
       
       
    •   href="/zmx729618/article/category/6522714" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Dubbo(1)
       
       
    •   href="/zmx729618/article/category/6522765" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Jetty(7)
       
       
    •   href="/zmx729618/article/category/6532085" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Jacob(1)
       
       
    •   href="/zmx729618/article/category/6533778" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">SPI(2)
       
       
    •   href="/zmx729618/article/category/6545841" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">技术实现(3)
       
       
    •   href="/zmx729618/article/category/6546904" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">solr(1)
       
       
    •   href="/zmx729618/article/category/6738206" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">LBS/地理位置服务(3)
       
       
    •   href="/zmx729618/article/category/6814425" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">SVN(3)
       
       
    •   href="/zmx729618/article/category/6822067" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Docker(5)
       
       
    •   href="/zmx729618/article/category/6823350" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">AI/机器学习(4)
       
       
    •   href="/zmx729618/article/category/6937856" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">自动化测试(1)
       
       
    •   href="/zmx729618/article/category/6979604" onclick="_gaq.push(['_trackEvent','function', 'onclick', 'blog_articles_wenzhangfenlei']); ">Spark(4)
       
       
       
      id="panel_Archive" class="panel">
       
        class="panel_head">文章存档
       
        class="panel_body">
       
      id="archive_list">
       
       
    • href="/zmx729618/article/month/2017/06">2017年06月(22)
    • href="/zmx729618/article/month/2017/05">2017年05月(28)
    • href="/zmx729618/article/month/2017/04">2017年04月(25)
    • href="/zmx729618/article/month/2017/03">2017年03月(48)
    • href="/zmx729618/article/month/2017/02">2017年02月(39)
    • href="/zmx729618/article/month/2017/01">2017年01月(53)
    • href="/zmx729618/article/month/2016/12">2016年12月(3)
    • href="/zmx729618/article/month/2016/11">2016年11月(96)
    • href="/zmx729618/article/month/2016/10">2016年10月(74)
    • href="/zmx729618/article/month/2016/09">2016年09月(39)
    • href="/zmx729618/article/month/2016/08">2016年08月(64)
    • href="/zmx729618/article/month/2016/07">2016年07月(71)
    • href="/zmx729618/article/month/2016/06">2016年06月(57)
    • href="/zmx729618/article/month/2016/05">2016年05月(154)
    • href="/zmx729618/article/month/2016/04">2016年04月(132)
    • href="/zmx729618/article/month/2016/03">2016年03月(14)
    • href="/zmx729618/article/month/2016/01">2016年01月(2)
    • href="/zmx729618/article/month/2015/11">2015年11月(3)
    • href="/zmx729618/article/month/2015/09">2015年09月(3)
    • href="/zmx729618/article/month/2015/08">2015年08月(16)
    • href="/zmx729618/article/month/2015/06">2015年06月(2)
    • href="/zmx729618/article/month/2015/04">2015年04月(2)
    • href="/zmx729618/article/month/2014/01">2014年01月(1)
    •  
       
       
       
      id="hotarticls" class="panel">
       
        class="panel_head">
       
        阅读排行
       
         
       
        class="panel_body itemlist">
       
    •   href="/zmx729618/article/details/51096593" title="Spring security实现权限管理">Spring security实现权限管理(36987)
       
       
    •   href="/zmx729618/article/details/45059805" title="关于数据库建模,概念模型、逻辑模型、物理模型的区别和转化">关于数据库建模,概念模型、逻辑模型、物理模型的区别和转化(16210)
       
       
    •   href="/zmx729618/article/details/51554231" title="SpringMVC之后台接收参数与前台传递数据">SpringMVC之后台接收参数与前台传递数据(13081)
       
       
    •   href="/zmx729618/article/details/51395979" title="从HttpServletRequest获取各种路径总结">从HttpServletRequest获取各种路径总结(11080)
       
       
    •   href="/zmx729618/article/details/51144588" title="Java绝对/相对路径获取与getResourceAsStream()方法">Java绝对/相对路径获取与getResourceAsStream()方法(9428)
       
       
    •   href="/zmx729618/article/details/51566987" title="使用Nexus搭建Maven代理仓库">使用Nexus搭建Maven代理仓库(9074)
       
       
    •   href="/zmx729618/article/details/51516744" title="让技术人员看得懂的面向对象设计流程">让技术人员看得懂的面向对象设计流程(8946)
       
       
    •   href="/zmx729618/article/details/51242966" title="JQuery Marquee插件(无缝滚动效果)- marquee.js">JQuery Marquee插件(无缝滚动效果)- marquee.js(6889)
       
       
    •   href="/zmx729618/article/details/52161069" title="Java下利用Jackson进行JSON解析和序列化">Java下利用Jackson进行JSON解析和序列化(6381)
       
       
    •   href="/zmx729618/article/details/51909604" title="Spring整合MyBatis错误:org.apache.ibatis.binding.BindingException">Spring整合MyBatis错误:org.apache.ibatis.binding.BindingException(6310)
       
       
       
       
      id="hotarticls2" class="panel">
       
        class="panel_head">评论排行
       
        class="panel_body itemlist">
       
    •   href="/zmx729618/article/details/51096593" title="Spring security实现权限管理">Spring security实现权限管理(21)
       
       
    •   href="/zmx729618/article/details/51881084" title="springMVC是实现前台带进度条文件上传">springMVC是实现前台带进度条文件上传(17)
       
       
    •   href="/zmx729618/article/details/51453792" title="ThreadPoolExecutor运转机制及BlockingQueue详解">ThreadPoolExecutor运转机制及BlockingQueue详解(5)
       
       
    •   href="/zmx729618/article/details/51942220" title="服务器推送技术原理分析及dwr框架简单的使用">服务器推送技术原理分析及dwr框架简单的使用(3)
       
       
    •   href="/zmx729618/article/details/51858884" title="Java NIO之Selector的使用">Java NIO之Selector的使用(3)
       
       
    •   href="/zmx729618/article/details/54378259" title="JAVA实现长连接(含心跳检测)Demo">JAVA实现长连接(含心跳检测)Demo(3)
       
       
    •   href="/zmx729618/article/details/51372694" title="HttpsURLConnection实现SSL的GET/POST请求">HttpsURLConnection实现SSL的GET/POST请求(2)
       
       
    •   href="/zmx729618/article/details/51766641" title="Java之HashCode值改变引起Hashset造成的内存泄露">Java之HashCode值改变引起Hashset造成的内存泄露(2)
       
       
    •   href="/zmx729618/article/details/51801958" title="HttpClient模仿登陆并维持同一session请求(HttpClient4.3.X以上版本)">HttpClient模仿登陆并维持同一session请求(HttpClient4.3.X以上版本)(2)
       
       
    •   href="/zmx729618/article/details/51437929" title="Spring3整合Quartz2实现定时任务及动态任务调整(添加删除暂停恢复)--推荐">Spring3整合Quartz2实现定时任务及动态任务调整(添加删除暂停恢复)--推荐(2)
       
       
       
       
      id="homepageArticles" class="panel tracking-ad" data-mod="popu_4">
       
        class="panel_head">推荐文章
       
        class="panel_body" id="ad_commend">
       
         
      • href="http://blog.csdn.net/blogdevteam/article/details/73740215" target="_blank">* CSDN日报20170626——《我的程序探险之旅》
      •  
      • href="http://blog.csdn.net/pistolove/article/details/73610588"
      •   target="_blank">* 【Java高级开发工程师】近一个月的面试总结
         
      • href="http://blog.csdn.net/reboot123/article/details/73266776"target="_blank">* 一个文科生的工程师之路
      •  
      • href="http://blog.csdn.net/lqw_student/article/details/73646768"
      •   target="_blank">* JavaWeb 与 MySQL 人鬼情未了
         
      • href="http://blog.csdn.net/totond/article/details/73648103"
      •   target="_blank">* PermissionsDispatcher、RxPermissions和easypermissions的使用和对比
         
      • href="http://blog.csdn.net/broadview2006/article/details/73550412"
      •   target="_blank">* 每周荐书:架构、Scratch、增长黑客(评论送书)
           
         
         
           
           
         
        id="newcomments" class="panel">
         
          class="panel_head">最新评论
         
          class="panel_body itemlist">
         
      •    
          href="/zmx729618/article/details/51881084#comments">springMVC是实现前台带进度条文件上传
         

        style="margin:0px;">href="/zmx729618" class="user_name">zmx729618:

          @hengliang_:可以bebug看一下 后台上传数据大小是不是变动了
         

         
         
      •    
          href="/zmx729618/article/details/51881084#comments">springMVC是实现前台带进度条文件上传
         

        style="margin:0px;">href="/hengliang_" class="user_name">hengliang_:

          您好!我可以上传成功,但是进度条没有变化
         

         
         
      •    
          href="/zmx729618/article/details/51395979#comments">从HttpServletRequest获取各种路径总结
         

        style="margin:0px;">href="/zmx729618" class="user_name">zmx729618:

          @xinxixueyuan110:个人学习,留作个人的记录笔记
         

         
         
      •    
          href="/zmx729618/article/details/51395979#comments">从HttpServletRequest获取各种路径总结
         

        style="margin:0px;">href="/xinxixueyuan110" class="user_name">xinxixueyuan110:

          乱超别人的东西
         

         
         
      •    
          href="/zmx729618/article/details/52127577#comments">Java调用SMS Cat(短信猫)发短信
         

        style="margin:0px;">href="/qq_25452849" class="user_name">qq_25452849:

          你好,有接收短信的demo吗?谢谢
         

         
         
      •    
          href="/zmx729618/article/details/52701370#comments">Mysql使用索引可能失效的场景
         

        style="margin:0px;">href="/u013038861" class="user_name">u013038861:

          谢谢分享。
         

         
         
      •    
          href="/zmx729618/article/details/54378259#comments">JAVA实现长连接(含心跳检测)Demo
         

        style="margin:0px;">href="/zmx729618" class="user_name">zmx729618:

          @qq_36495520:原理应该大同小异,都是定期发送一个消息到具体的模块,然后接受返回消息。
         

         
         
      •    
          href="/zmx729618/article/details/54378259#comments">JAVA实现长连接(含心跳检测)Demo
         

        style="margin:0px;">href="/qq_36495520" class="user_name">qq_36495520:

          我需要心跳来控制队列的每一个模块,需要做出来一个.exe软件,有心跳图那种的软件你这个是怎么实现监测...
         

         
         
      •    
          href="/zmx729618/article/details/54378259#comments">JAVA实现长连接(含心跳检测)Demo
         

        style="margin:0px;">href="/qq_36495520" class="user_name">qq_36495520:

          不可评论?
         

         
         
      •    
          href="/zmx729618/article/details/51766641#comments">Java之HashCode值改变引起Hashset造成的内存泄露
         

        style="margin:0px;">href="/zmx729618" class="user_name">zmx729618:

          @wgxaszc8:很多时候设计对象的比较都需要重写hashCode()和equals()方法,比如...
         

         
         
         
         
         
        class="clear">
         
           
           
         
         
        class="tracking-ad" data-view="true" data-mtp="63" data-order="40" data-con="ad_content_1260" style="width: 200px; height: 200px;">
         
        id="nav_show_top_stop" style="width: 200px;height: 200px;z-index:1000">
        id="cpro_u2734128">
         
         
         
         
           
         
           
         
        class="clear">
         
         
           
           
           
           
           
           
           
           
           
           
         
           
           
           
           
           
         
         
           
           
           
           
           
         
           
           
           
           
           
           
           
           
           
           
           
         
         
           
         
           
         
           
         
           
           
           
           
           
         
        id="a52b5334d" style="width: 1px; height: 1px; display: none;">
         
         
         
           
           
           
           
           
           
           
           
         
        class="pop_CA_cover" style="display:none">
         
        class="pop pop_CA" style="display:none">
         
        class="CA_header">
          收藏助手
          class="cancel_icon" id="fapancle" onclick="$('.pop_CA').hide();$('.pop_CA_cover').hide();">
         
         
         
           
           
         
           
         
         
         

        你可能感兴趣的:(java)