<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[老杜的博客]]></title><description><![CDATA[失败过，但从未放弃过。]]></description><link>https://blog.csdn.net/dulonghao</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; dulonghao]]></copyright><item><title><![CDATA[Git和码云的使用]]></title><link>https://blog.csdn.net/dulonghao/article/details/78744277</link><guid>https://blog.csdn.net/dulonghao/article/details/78744277</guid><author>dulonghao</author><pubDate>Thu, 07 Dec 2017 18:23:30 +0800</pubDate><description><![CDATA[码云(Git@OSC)是开源中国社区团队推出的基于Git的快速的、免费的、稳定的在线代码托管平台,不限制私有库和公有库数量.github大伙总该听说过的吧，码云就是中国版的github，如果有兴趣，可以一起了解一下，毕竟有时候github抽起风来，啥都搞不来。所以还是国内的环境好，中国的github还是很适用于大部分国人的，虽然里面的内容不多，但是相较于github的国外服务器，码云在国内的速度那]]></description><category></category></item><item><title><![CDATA[解决EasyUI dialog弹出窗口超出父元素，导致不能关闭的bug]]></title><link>https://blog.csdn.net/dulonghao/article/details/78678638</link><guid>https://blog.csdn.net/dulonghao/article/details/78678638</guid><author>dulonghao</author><pubDate>Thu, 30 Nov 2017 17:29:22 +0800</pubDate><description><![CDATA[使用panel的onMove事件解决了panel,dialog以及window组件在被拖动时，会超出浏览器边界而无法拖回的情况。



当窗口被拖出浏览器有边界时，$(document).width();会增大，增大的部分就是窗口超过浏览器窗口的部分，所以right > browserWidth条件永远无法满足。

如果我们在思考得多一点，其实对于panel,dialog,window]]></description><category></category></item><item><title><![CDATA[开源的验证码框架Kaptcha实现验证码效果]]></title><link>https://blog.csdn.net/dulonghao/article/details/78631085</link><guid>https://blog.csdn.net/dulonghao/article/details/78631085</guid><author>dulonghao</author><pubDate>Sat, 25 Nov 2017 12:37:14 +0800</pubDate><description><![CDATA[本项目是通过maven创建的，首先需要导入Kaptcha的jar包，然后在spring中配置Kaptcha的属性，还需要实现一个生成验证码的controller类，最后在前端显示。
pom.xml导包：

  
     com.github.penggle  
     kaptcha  
     2.3.2  
     配置Kaptcha的spring文件，我这里是新建一个sprin]]></description><category></category></item><item><title><![CDATA[Linux下搭建web应用环境]]></title><link>https://blog.csdn.net/dulonghao/article/details/78614390</link><guid>https://blog.csdn.net/dulonghao/article/details/78614390</guid><author>dulonghao</author><pubDate>Thu, 23 Nov 2017 16:05:52 +0800</pubDate><description><![CDATA[一.项目必备：虚拟机：VMware Workstation （已安装linux的
 CentOS6.5版本） 
项目：java
 web项目
服务器：tomcat
数据库：MySQL

VMware
 tools小介绍：
现在的centOS已安装了VMware tools （实现主机和虚拟机之间文件的共享拖拽功能）,其余项目所需都没有安装。只有在VMware虚拟机中安装好了VMw]]></description><category></category></item><item><title><![CDATA[css3浏览器前缀兼容]]></title><link>https://blog.csdn.net/dulonghao/article/details/78600362</link><guid>https://blog.csdn.net/dulonghao/article/details/78600362</guid><author>dulonghao</author><pubDate>Wed, 22 Nov 2017 11:01:41 +0800</pubDate><description><![CDATA[1、检测网站https://gsnedders.html5.org/outliner/ 
2、查询是否支持前缀http://caniuse.com 


3、浏览器引擎前缀(Vendor Prefix)有哪些？
            
 -webkit-     /* Safari, 谷歌浏览器等使用Webkit引擎的浏览器 */
-moz-
/* 火狐等使用Mozilla浏览器]]></description><category></category></item><item><title><![CDATA[Easyui datagrid detailview使用简介]]></title><link>https://blog.csdn.net/dulonghao/article/details/78569307</link><guid>https://blog.csdn.net/dulonghao/article/details/78569307</guid><author>dulonghao</author><pubDate>Sat, 18 Nov 2017 16:14:03 +0800</pubDate><description><![CDATA[DataGrid DetailView（数据表格详细展示）




1.页面引入样式




2.引入脚本






detailview.js官网下载的包应该没有，这里就直接贴出了方便大家下载http://www.jeasyui.com/easyui/datagrid-detailview.js.

3.脚本写法:

 
$('#tt').datagr]]></description><category></category></item><item><title><![CDATA[Maven构建SSH项目pom文件依赖包]]></title><link>https://blog.csdn.net/dulonghao/article/details/78565106</link><guid>https://blog.csdn.net/dulonghao/article/details/78565106</guid><author>dulonghao</author><pubDate>Fri, 17 Nov 2017 20:40:31 +0800</pubDate><description><![CDATA[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.apache.org/mav]]></description><category></category></item><item><title><![CDATA[hibernate事务解决问题]]></title><link>https://blog.csdn.net/dulonghao/article/details/78469163</link><guid>https://blog.csdn.net/dulonghao/article/details/78469163</guid><author>dulonghao</author><pubDate>Tue, 07 Nov 2017 16:18:44 +0800</pubDate><description><![CDATA[在做SSH整合add方法的时候运行报错：
org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMode.MANUAL): Turn
 your Session into FlushMode.COMMIT/AUTO ]]></description><category></category></item><item><title><![CDATA[webservice通信调用天气预报接口实例]]></title><link>https://blog.csdn.net/dulonghao/article/details/78452338</link><guid>https://blog.csdn.net/dulonghao/article/details/78452338</guid><author>dulonghao</author><pubDate>Sun, 05 Nov 2017 20:57:54 +0800</pubDate><description><![CDATA[一：环境搭建

1：新建一个java project工程weatherInf

2：引入相应的jar包

activation.jar
axis-ant.jar
axis.jar
commons-discovery-0.2.jar
commons-logging-1.0.4.jar
jaxrpc.jar
log4j-1.2.8.jar
mail.jar
saaj.jar]]></description><category></category></item><item><title><![CDATA[spring tx:advice事务配置]]></title><link>https://blog.csdn.net/dulonghao/article/details/78450689</link><guid>https://blog.csdn.net/dulonghao/article/details/78450689</guid><author>dulonghao</author><pubDate>Sun, 05 Nov 2017 17:19:45 +0800</pubDate><description><![CDATA[首先在resources/applicationContext.xml添加如下内容:
 
    
        
    注：这是作为公共使用的事务管理器bean,这个会是事先配置好的，不需各个模块各自去配。
 下面就开始配置各个模块所必须的部分,首先就是配置事务的传播特性，如下：

    
        
            
            
            ]]></description><category></category></item><item><title><![CDATA[sshError：java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorl]]></title><link>https://blog.csdn.net/dulonghao/article/details/78449411</link><guid>https://blog.csdn.net/dulonghao/article/details/78449411</guid><author>dulonghao</author><pubDate>Sun, 05 Nov 2017 14:38:45 +0800</pubDate><description><![CDATA[Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pointcut': Instantiation of bean failed; nested exception is java.lang.NoClassDefFoundError: org/aspe]]></description><category></category></item><item><title><![CDATA[Maven常用命令]]></title><link>https://blog.csdn.net/dulonghao/article/details/78426873</link><guid>https://blog.csdn.net/dulonghao/article/details/78426873</guid><author>dulonghao</author><pubDate>Thu, 02 Nov 2017 17:02:11 +0800</pubDate><description><![CDATA[创建一个简单的Java工程：mvn archetype:create -DgroupId=com.mycompany.example -DartifactId=Example创 建一个java的web工程：mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-a]]></description><category></category></item><item><title><![CDATA[struts2文件上传(单文件/多文件)]]></title><link>https://blog.csdn.net/dulonghao/article/details/78418302</link><guid>https://blog.csdn.net/dulonghao/article/details/78418302</guid><author>dulonghao</author><pubDate>Wed, 01 Nov 2017 20:32:49 +0800</pubDate><description><![CDATA[公共部分:在maven项目pom文件下加入struts.jar包 

    org.apache.struts
    struts2-core
    2.5.5
 公共部分:配置web.xml



  Archetype Created Web Application
  
      struts2
      org.apache.struts2.dispatcher.filter]]></description><category></category></item><item><title><![CDATA[Struts2文件上传的大小限制问题]]></title><link>https://blog.csdn.net/dulonghao/article/details/78417884</link><guid>https://blog.csdn.net/dulonghao/article/details/78417884</guid><author>dulonghao</author><pubDate>Wed, 01 Nov 2017 19:57:56 +0800</pubDate><description><![CDATA[问题：上传大文件报错……

解决：修改struts.xml文件中的参数如下





            /pages/ShowOtherFiles.jsp
            /pages/JGBdetail.jsp
            
                /data  
                52428800]]></description><category></category></item><item><title><![CDATA[面向对象设计原则]]></title><link>https://blog.csdn.net/dulonghao/article/details/78417225</link><guid>https://blog.csdn.net/dulonghao/article/details/78417225</guid><author>dulonghao</author><pubDate>Wed, 01 Nov 2017 18:48:21 +0800</pubDate><description><![CDATA[1、单一职责原则SRP

1、概念

单一职责原则 SRP --- SingleResponsibility Principle




There should never be more than onereason for a class to change。

应该有且仅有一个原因引起类的变更

ü  系统中的每一个类都应该只有一个职责，而所有类所关注的就是自身职]]></description><category></category></item><item><title><![CDATA[Maven的安装及环境配置]]></title><link>https://blog.csdn.net/dulonghao/article/details/78377387</link><guid>https://blog.csdn.net/dulonghao/article/details/78377387</guid><author>dulonghao</author><pubDate>Sat, 28 Oct 2017 17:06:59 +0800</pubDate><description><![CDATA[想要安装Maven在系统上，需要到Apache官网下载zip文件，将其解压到你想安装的目录，并保证你已正确安装完jdk。
1.JDK环境变量配置参考经验：http://jingyan.baidu.com/article/ca41422fe3b7261eae99edc6.html

2.首先到官网去下载maven。这里是官网的地址：http://maven.apache.org/downloa]]></description><category></category></item><item><title><![CDATA[Struts2的动态调用的三种方式]]></title><link>https://blog.csdn.net/dulonghao/article/details/78340310</link><guid>https://blog.csdn.net/dulonghao/article/details/78340310</guid><author>dulonghao</author><pubDate>Wed, 25 Oct 2017 13:29:17 +0800</pubDate><description><![CDATA[在Struts2中动态方法调用有三种方式,动态方法调用就是为了解决一个Action对应多个请求的处理,以免Action太多.
 
    第一种方式:通配符方式(官网推荐使用)首先得关闭开关,注:多个方法使用逗号分隔:]]></description><category></category></item><item><title><![CDATA[阿里巴巴Java开发手册MyEclipse插件使用指南]]></title><link>https://blog.csdn.net/dulonghao/article/details/78281172</link><guid>https://blog.csdn.net/dulonghao/article/details/78281172</guid><author>dulonghao</author><pubDate>Thu, 19 Oct 2017 10:18:10 +0800</pubDate><description><![CDATA[1.插件安装
环境：JDK1.8，本人使用的myEclipse2017。有同学遇到过这样的情况，安装插件重启后，发现没有对应的菜单项，从日志上也看不到相关的异常信息，最后把JDK从1.6升级到1.8解决问题。

2.Help
 -> Install from Site...
3.输入Update
 Site地址：https://p3c.alibaba.com/plugin/eclips]]></description><category></category></item><item><title><![CDATA[hibernate 出现 is not mapped 问题]]></title><link>https://blog.csdn.net/dulonghao/article/details/78264617</link><guid>https://blog.csdn.net/dulonghao/article/details/78264617</guid><author>dulonghao</author><pubDate>Tue, 17 Oct 2017 18:33:48 +0800</pubDate><description><![CDATA[在用hibernate框架时，
 运行时报org.hibernate.hql.ast.QuerySyntaxException:tab_user is not mapped [select u.username from tab_user u where u.username=? and and password=?] 错误：
 上面的错误是因为自己写了错误的HQL语句：
      Str]]></description><category></category></item><item><title><![CDATA[IDEA配置Tomcat及项目]]></title><link>https://blog.csdn.net/dulonghao/article/details/78213825</link><guid>https://blog.csdn.net/dulonghao/article/details/78213825</guid><author>dulonghao</author><pubDate>Thu, 12 Oct 2017 13:28:28 +0800</pubDate><description><![CDATA[IDEA是我用的挺多的一款java代码编辑工具，对于刚接触这款软件的新手来说，配置项目是很麻烦的了，更别说配置服务器Tomcat了，那么通过我的教程大家一定觉得配置IDEA项目也是很轻松的事了。
        1.先找到软件上如图所示的图标，打开Project Structure.
       



      2.【配置project】

      这里需要注意四个地方。]]></description><category></category></item></channel></rss>