05 2016 档案
Solr
摘要:使用solr搜索引擎服务器: 1.本人将solr搜索引擎服务和web项目分为两个服务,通过web调用solr服务来实现具体操作(用于自己的试验,在真正项目中还未接触,暂时这样处理)。 2.均采用Tomcat7,将其拷贝2份,一份用于web项目服务,另一份用于solr搜索引擎服务(这里只是修改了端口号 阅读全文
posted @ 2016-05-29 21:37 布丁混着白砂糖 阅读(177) 评论(0) 推荐(0)
JDBC 批量处理(插入,删除,更新)
摘要: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 布丁混着白砂糖 阅读(727) 评论(0) 推荐(0)
mybatis
摘要:<?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 布丁混着白砂糖 阅读(145) 评论(0) 推荐(0)
spring mvc---applicationContent-mybatis.xml
摘要:<?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 布丁混着白砂糖 阅读(156) 评论(0) 推荐(0)
spring mvc---applicationContent.xml
摘要:<?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 布丁混着白砂糖 阅读(99) 评论(0) 推荐(0)
spring mvc---spring-mvc.xml
摘要:<?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 布丁混着白砂糖 阅读(133) 评论(0) 推荐(0)
spring mvc---web.xml
摘要:<?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 布丁混着白砂糖 阅读(131) 评论(0) 推荐(0)
DOM4J解析xml文件
摘要:所需Jar包:dom4j-1.6.1.jar SAXReader reader = new SAXReader(); Document document= reader.read("文件输入流"); //根节点 Element root = document.getRootElement(); // 阅读全文
posted @ 2016-05-15 21:54 布丁混着白砂糖 阅读(182) 评论(0) 推荐(0)