上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 71 下一页
摘要: 一、软件列表:windows和linux的jprofiler的版本必须一致1、jprofiler_linux_9_1_1.tar.gz2、jprofiler_windows_x64 9_1_1 3、本地安装tomcat7(windows)4、linux安装tomcat7(linux)二、操作步骤1、将jprofiler_linux_9_1_1.tar.gz拷贝到linux /usr/local目... 阅读全文
posted @ 2016-11-22 20:23 扯 阅读(5369) 评论(0) 推荐(0) 编辑
摘要: 154、如何在Web项目中配置Spring的IoC容器?答:如果需要在Web项目中使用Spring的IoC容器,可以在Web项目配置文件web.xml中做出如下配置: contextConfigLocation classpath:applicationContext.xml org.springframework.web.context.ContextLoad... 阅读全文
posted @ 2016-11-21 09:11 扯 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 146、什么是IoC和DI?DI是如何实现的?答:IoC叫控制反转,是Inversion of Control的缩写,DI(Dependency Injection)叫依赖注入,是对IoC更简单的诠释。控制反转是把传统上由程序代码直接操控的对象的调用权交给容器,通过容器来实现对象组件的装配和管理。所谓的”控制反转”就是对组件对象控制权的转移,从程序代码本身转移到了外部容器,由容器来创建对象并管理对... 阅读全文
posted @ 2016-11-19 10:11 扯 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 项目介绍:使用java1.5的原生xml操作类实现 对象<-->xml字符串的相互转化 项目分析:主要分为是三个部分 1、容器类:AbstractContainer 存储xml、object对象的数组集合,管理xml/object的添加、删除、获取等,添加xml/object的同时会自动相互转化成其 阅读全文
posted @ 2016-11-18 09:46 扯 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 配置方法分为以下几个步骤:1、配置profiles节点(pom.xml)2、配置build节点(pom.xml)--如果不配置该节点则无法找到profile中的properties属性值,并且配置后超链接才有效3、使用(在xml或properties中使用)4、执行maven命令,使profiles的local节点生效1、配置profiles节点(pom.xml)12345678910111213... 阅读全文
posted @ 2016-11-17 09:57 扯 阅读(1892) 评论(0) 推荐(0) 编辑
摘要: 使用MyBatis的Generator主要配置三个地方1、pom.xml2、generatorConfig.xml3、maven命令生成文件一、pom.xml1、引入依赖5.1.373.3.11.2.34.2.5.RELEASE123456789101112131415161718192021222324252627282930313233 mysql ... 阅读全文
posted @ 2016-11-16 08:59 扯 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 1. ibatis3.*版本以后正式改名为mybaits,它也从apache转到了google code下;也就是说ibatis2.*,mybatis3.*。2. 映射文件的不同ibatis的配置文件如下 mybatis的配置文件如下 从以上两个配置文件,大致分析有哪些不同点:2.1 dtd约束... 阅读全文
posted @ 2016-11-15 09:22 扯 阅读(1329) 评论(0) 推荐(0) 编辑
摘要: 功能:主要用于打包资源文件,默认情况下maven只打包src/main/resource下的资源,通过1、设置build_resources2、使用build-helper-maven-plugin插件3、使用maven-resources-plugin插件都可以自定要打包的资源首先,来看下MAVEN项目标准的目录结构: 一般情况下,我们用到的资源文件(各种xml,properites,xsd文件... 阅读全文
posted @ 2016-11-14 10:13 扯 阅读(14555) 评论(0) 推荐(3) 编辑
摘要: 输入:rgb(13,0,255)输出:#0d00ff在线颜色转换工具:http://www.atool.org/colorpicker.php 123456789function colorRGB2Hex(color) { var rgb = color.split(','); var r = parseInt(rgb[0].split('(')[1]); var g = par... 阅读全文
posted @ 2016-11-13 09:41 扯 阅读(11667) 评论(0) 推荐(0) 编辑
摘要: 一、在线颜色转换及查看http://www.atool.org/colorpicker.php 二、在线Json格式化http://www.bejson.com/ 三、在线编码转换http://tool.oschina.net/encode?type=3 四、在线MD5加解密http://md5jiami.51240.com/ 加密 http://pmd5.com ... 阅读全文
posted @ 2016-11-12 18:45 扯 阅读(243) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 71 下一页