2016年6月4日
摘要: 对于定时任务,可以利用线程来实现,而本处是在以Spring为基础。 Spring+Quartz 集群 下的一些问题异常解析 http://soulshard.iteye.com/blog/337886/ 1. <?xml version="1.0" encoding="UTF-8"?><beans  阅读全文
posted @ 2016-06-04 10:49 布丁混着白砂糖 阅读(123) 评论(0) 推荐(0) 编辑
摘要: <!-- 定义mongo对象,对应的是mongodb官方jar包中的Mongo,replica-set设置集群副本的ip地址和端口 --> <mongo:mongo id="mongo" replica-set="${mongo.hostport}"> <mongo:options connecti 阅读全文
posted @ 2016-06-04 10:45 布丁混着白砂糖 阅读(1797) 评论(0) 推荐(0) 编辑
摘要: 1.通过java生成分页代码 PageInfo.java package com.paging; public class PageInfo { public static String getAdminPagingNavigation(Page<?> page) { StringBuffer di 阅读全文
posted @ 2016-06-04 10:35 布丁混着白砂糖 阅读(127) 评论(0) 推荐(0) 编辑
  2016年5月29日
摘要: 使用solr搜索引擎服务器: 1.本人将solr搜索引擎服务和web项目分为两个服务,通过web调用solr服务来实现具体操作(用于自己的试验,在真正项目中还未接触,暂时这样处理)。 2.均采用Tomcat7,将其拷贝2份,一份用于web项目服务,另一份用于solr搜索引擎服务(这里只是修改了端口号 阅读全文
posted @ 2016-05-29 21:37 布丁混着白砂糖 阅读(171) 评论(0) 推荐(0) 编辑
  2016年5月23日
摘要: Connection connection = null; try { //获取Connection connection = (Connection) DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/ssm2.0?useUnicod 阅读全文
posted @ 2016-05-23 21:17 布丁混着白砂糖 阅读(711) 评论(0) 推荐(0) 编辑
  2016年5月22日
摘要: <?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"> ... 阅读全文
posted @ 2016-05-22 22:41 布丁混着白砂糖 阅读(132) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:mvc="http://www.springframework.org/schema/mvc" 阅读全文
posted @ 2016-05-22 20:53 布丁混着白砂糖 阅读(151) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:mvc="http://www.springframework.org/schema/mvc" 阅读全文
posted @ 2016-05-22 20:52 布丁混着白砂糖 阅读(92) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:mvc="http://www.springframework.org/schema/mvc" 阅读全文
posted @ 2016-05-22 20:51 布丁混着白砂糖 阅读(128) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:sch 阅读全文
posted @ 2016-05-22 20:50 布丁混着白砂糖 阅读(124) 评论(0) 推荐(0) 编辑