- 博客(8)
- 资源 (7)
- 收藏
- 关注
原创 selenium 自动化测试
selenium githubpublic class test1 { public static void main(String[] args) throws Exception{ // 谷歌浏览器驱动 System.setProperty("webdriver.chrome.driver", "D:\\selenium\\chromedriver.e
2017-06-30 16:16:11 567
原创 spring 整合druid
一. Spring 配置<!-- Druid数据源 --> <bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close"> <property name="driverClassName" value="${db.d
2017-06-23 09:01:27 1652
原创 maven搭建项目,settings.xml配置文件,以及parent的pom.xml
settings.xml<?xml version="1.0" encoding="UTF-8"?><!--Licensed to the Apache Software Foundation (ASF) under oneor more contributor license agreements. See the NOTICE filedistributed with this work
2017-06-21 15:55:02 2221
原创 maven,打包时不同环境不同的配置文件
一. profile 配置 <profiles> <profile> <id>pro</id> <properties> <env>pro</env> </properties> </profile> <profile> <i
2017-06-21 15:44:29 424
原创 mybatis-generator 自动生成mapper,结合maven
一. pom.xml 配置信息<!-- mybatis 自动生成mapper和model 插件 --><plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plugin</artifactId> <version>1.3.5</version> <c
2017-06-14 11:15:41 938
原创 springmvc整合fastjson
fastjson文档: https://github.com/alibaba/fastjson/wik jar: fastjson-1.2.32,spring 4.2+springmvc配置<!-- 配置Fastjson支持 --><bean id = "fastJsonConfig" class="com.alibaba.fastjson.support.config.FastJsonConf
2017-06-07 10:47:17 528
原创 spring 和 redis整合,并且使用redis做session缓存服务器
所需jarcommons-pool2-2.0.jarjedis-2.9.0.jarspring-data-redis-1.6.2.RELEASE.jarspring-session-1.2.1.RELEASE.jar一 . xml配置文件 <!-- jedis连接池配置 --> <bean id="jedisPoolConfig" class="redis.clients.jedi
2017-06-07 10:38:38 6412
原创 Tomcat 7 下对 JSP 进行预编译
预编译jsp,直接看maven配置,IDE为idea,注意tomcat的版本,有些版本中有些类是不存在的,那么就把编译的tomcat版本降低<plugins> <plugin> <groupId>org.codehaus.mojo.jspc</groupId> <artifactId>jspc-maven-plugin</artifactId>
2017-06-07 10:25:18 1738
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人