每日一句: Knowledge is a treasure, but practice the key to it. 知识是一座宝库,实践是打开宝库的钥匙。
摘要: 1.1部署elasticsearch:6.5.4 http://localhost:9200/ 1.2添加elasticsearch-head 在最下面添加2行 2.1部署logstash:6.5.4 2.2映射配置文件 2.3 mysql --> elasticsearch vi mysql.co 阅读全文
posted @ 2019-12-07 10:56 wuyongmao 阅读(1617) 评论(0) 推荐(0) 编辑
摘要: //store 中 store.js import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) const store = new Vuex.Store({ state: { author: 'Youngmon' }, mutations: { autho... 阅读全文
posted @ 2019-01-28 16:03 wuyongmao 阅读(5346) 评论(0) 推荐(0) 编辑
摘要: $refs的基本用法 一个对象(Object),持有注册过 ref 特性 的所有 DOM 元素和组件实例。 <template> <view class="container" style="background: #0FAEFF;"> <view class="child"> hi {{showM 阅读全文
posted @ 2019-01-28 11:35 wuyongmao 阅读(28094) 评论(1) 推荐(0) 编辑
摘要: 一、父组件向子组件传递数据(props) <template> <view class="container" style="background: #0062CC;"> <view class="child"> hi {{showModal}}</view> </view> </template> 阅读全文
posted @ 2019-01-28 09:53 wuyongmao 阅读(18414) 评论(0) 推荐(0) 编辑
摘要: SpringMVC优势 性能比struts2好 简单 便捷 易学 和Spring无缝集成(使用spring ioc aop) 约定优于配置 能够简单进行Junit测试 支持Restful风格 本地化、国际化、数据验证、类型转换 拦截器 1、导入包 2、配置springMVC <?xml versio 阅读全文
posted @ 2016-12-19 20:52 wuyongmao 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 使用sessionFactory.getCurrentSession();提示异常 org.hibernate.HibernateException: No CurrentSessionContext configured! hibernate.cfg.xml 阅读全文
posted @ 2016-12-11 19:20 wuyongmao 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 导入包 H:\jar\jdbc\mysql-connector-java-5.1.13-bin.jarH:\jar\mybatis\mybatis-3.4.1\mybatis-3.4.1.jarH:\jar\Junit\junit-4.7.jar 结构 package com.wym.model; 阅读全文
posted @ 2016-11-28 01:41 wuyongmao 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 使用Mybatis的时候,有些时候能输出(主要是指sql,参数,结果)日志。 无法输出日志的时候,无论怎么配置log4j,不管是properties的还是xml的,都不起作用。 log4j.properties 在SqlMapConfig.xml配置文件中添加: 阅读全文
posted @ 2016-11-27 16:19 wuyongmao 阅读(547) 评论(0) 推荐(0) 编辑
摘要: SSH整合,列出需要的jar包列表 阅读全文
posted @ 2013-09-05 10:18 wuyongmao 阅读(269) 评论(0) 推荐(0) 编辑
摘要: SSH整合之_架构的历史序列图 阅读全文
posted @ 2013-09-04 08:15 wuyongmao 阅读(874) 评论(0) 推荐(0) 编辑
摘要: Spring整合Hibernate 阅读全文
posted @ 2013-09-03 07:42 wuyongmao 阅读(836) 评论(0) 推荐(0) 编辑
摘要: Oracle日志文件的管理与查看,列出基本的操作语句 阅读全文
posted @ 2013-09-02 09:20 wuyongmao 阅读(1189) 评论(0) 推荐(0) 编辑
摘要: Java调用Oracle存储过程,实现整删改查 阅读全文
posted @ 2013-09-01 08:04 wuyongmao 阅读(708) 评论(0) 推荐(0) 编辑
摘要: 过程(procedure): 用于在数据库中完成特定的操作或者任务。是一个PLSQL程序块,可以永久的保存在数据库中以供其他程序调用。 阅读全文
posted @ 2013-08-31 10:49 wuyongmao 阅读(1747) 评论(0) 推荐(0) 编辑
摘要: Spring 2.5 TestContext 测试框架用于测试基于 Spring 的程序,TestContext 测试框架和低版本 Spring 测试框架没有任何关系,是一个全新的基于注解的测试框架,为 Spring 推荐使用该测试框架。 阅读全文
posted @ 2013-08-30 14:43 wuyongmao 阅读(358) 评论(0) 推荐(0) 编辑