自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(50)
  • 收藏
  • 关注

转载 基于Spring Boot 实现定时任务

https://www.tianmaying.com/tutorial/spring-scheduling-task

2018-08-13 13:56:03 188

转载 Actuator full authentication is required to access this resource

配置spring-boot-actuator时候遇到的一些小问题https://www.jianshu.com/p/b0b40038bb93  

2018-08-03 14:54:36 1112

转载 Tomcat启动参数设置和堆内存导出 Tomcat Startup Parameters and OutofMemeory Dump

Tomcat Startup Parameters:https://crunchify.com/how-to-change-jvm-heap-setting-xms-xmx-of-tomcat/https://stackoverflow.com/questions/29984238/whats-the-difference-between-service-tomcat-start-stop-and...

2018-07-12 11:09:11 486

转载 How to take a screenshot of an entire webpage

How to take a screenshot of an entire webpagehttps://www.howtogeek.com/287992/how-to-take-a-screenshot-of-an-entire-webpage/

2018-07-09 12:26:22 348

转载 Spring自带的Cache的设置与开发

A Guide To Caching in Spring | Baeldunghttp://www.baeldung.com/spring-cache-tutorial

2018-07-09 12:19:10 463

原创 ContentType for Zip File----Restlet Client for Chrome

2018-06-25 15:59:13 418

原创 Maven SpringMVC 项目,读取 Resources目录下的资源文件

package com.microfocus.g11n.openl10n.utils;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import java.util.Properties;/** * Created by bux on 2018/1/28. */public class Localization {...

2018-05-29 11:44:03 8448

原创 Java解压Zip文件(Java unzip file)

public String unzipSourceCsvZipFile(String[] unzipFolderArrInPath, String sourceCsvZipFilePath) throws Exception { String targetFolderRealPath = FilesUtil.createFolderPath(unzipFolderArrIn...

2018-05-25 13:48:11 3791

原创 动态生成zip文件,并下载

Maven 依赖设置<dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.5</version></dependency>/** *

2018-05-13 21:02:49 573

原创 从DB导出数据,生成UTF-16 Little Endian CSV文件

public SourceCsvInfo generateCsvFile(String userEmail, String productName, String version, String baseName, String languageID, List<SourceTargetDTO> sourceTargetDTOs...

2018-05-13 20:53:28 256

原创 Java 生成Zip文件

import org.apache.commons.io.IOUtils;import java.util.zip.ZipOutputStream;import java.util.zip.ZipEntry;import java.io.*; private void reZipCsvFiles(String targetZipRealPath, List<String&gt...

2018-05-08 11:36:25 2182 2

原创 Spring MVC中如何通过RequestContextHolder类获取HttpServletRequest和HttpSession

package com.microfocus.g11n.openl10n.utils;import com.hp.ccue.identity.user.idm.domain.IdmUser;import com.microfocus.g11n.openl10n.constants.GlobalConstants;import org.springframework.web.context....

2018-03-30 15:11:30 1893

原创 Java读写UTF-16 little Endian文件

private void writeTargetCsvFile(File originCsvFile, File targetCsvFile) throws Exception { if (targetCsvFile.exists()) { boolean deleteResult = targetCsvFile.delete(); ...

2018-03-20 17:00:21 1544

原创 Spring MVC Test-Framework和Mockito的JUnit Test Sample

1.需要的依赖:<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="

2018-03-20 15:37:23 476

转载 ClassLoader’s Resource与Class’s Resource的区别

Read File and Resource in JUnit Testhttps://howtoprogram.xyz/2017/01/17/read-file-and-resource-in-junit-test/

2018-03-20 15:20:44 157

原创 Spring MVC中得到Web应用的根路径

import org.springframework.web.context.ContextLoader;import javax.servlet.ServletContext;/** * Created by Gong_Yi on 2018/1/26. */public class G { String webRootUrl = "/"; ServletConte

2018-01-26 17:20:57 205

原创 自己的一些常用Git命令

https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/https://gist.github.com/CHEF-KOCH/989dc4e48980a31370f07f26575a931a===============================================...

2018-01-03 11:49:46 199

转载 Spring+Spring MVC+Hibernate框架搭建

Spring+Spring MVC+Hibernate框架搭建和开发http://www.cnblogs.com/xrog/p/6359706.html

2018-01-03 11:46:32 150

转载 Java8 lambda表达式10个示例

Java8 lambda表达式10个示例http://www.importnew.com/16436.html

2018-01-03 11:42:31 159

转载 Mocking Void Methods with Mockito

http://www.baeldung.com/mockito-void-methodsMockito 无返回值的方法。

2017-12-29 17:45:16 164

翻译 Hibernate API 和 Mapping

http://docs.jboss.org/hibernate/orm/5.2/quickstart/html_single/Native Hibernate APIs and hbm.xml MappingNative Hibernate APIs and Annotation MappingsUsing the Java Persistence API (JPA)

2017-12-29 17:43:05 111

转载 Spring 容器AOP的实现原理——动态代理

Spring 容器AOP的实现原理——动态代理http://wiki.jikexueyuan.com/project/ssh-noob-learning/dynamic-proxy.html

2017-12-11 17:28:34 187

转载 MySQL 事务是如何实现的

MySQL 事务是如何实现的http://www.cnblogs.com/zhiqian-ali/p/5668199.html

2017-12-11 17:26:14 671

转载 Linux的目录

http://www.linuxidc.com/Linux/2013-01/77368.htm

2017-10-26 11:10:34 139

转载 如何 在Spring MVC中 使用多个Spring和MyBatis的xml配置文件(多模块配置)

spring如何使用多个xml配置文件多个Spring IoC bean文件:在web.xml文件中:http://blog.163.com/swwei_2001/blog/static/6012675720111173565597/contextConfigLocationclasspath*:conf/spring/applicationContext_cor

2017-10-21 14:33:41 1511

转载 MyBatis批量插入数据

http://chenzhou123520.iteye.com/blog/1583407/

2017-10-18 16:13:08 119

转载 用Rabbit MQ API 发送Java对象

http://blog.csdn.net/btwangzhi/article/details/55001348Commons Lang API    org.apache.commons    commons-lang3    3.6

2017-10-17 08:58:24 603

转载 Oracle connect by level

http://blog.csdn.net/haiross/article/details/17586565

2017-10-13 17:24:00 244

转载 MySQL Stored Procedure

http://www.mysqltutorial.org/mysql-stored-procedure-tutorial.aspx

2017-10-12 17:23:25 288

转载 正则表达式

http://www.cnblogs.com/lin714115/archive/2010/09/25/1834690.htmlimport java.util.ArrayList;import java.util.List;import java.util.regex.Matcher;import java.util.regex.Pattern;/** * * @author ZJB...

2017-10-12 17:20:08 108

转载 Kettle定时执行(ETL工具)

http://blog.csdn.net/feng19821209/article/details/5800960

2017-10-12 17:16:44 536

转载 context component scan spring

http://blog.csdn.net/sgls652709/article/details/49858091http://blog.csdn.net/chunqiuwei/article/details/16115135https://docs.spring.io/spring/docs/3.0.0.M3/reference/html/ch04s12.html

2017-10-07 09:10:27 138

转载 jQuery 事件 - submit() 方法

function download(url,postData) { var form = $(""); // 定义一个form表单 form.attr('style', 'display:none'); // 在form表单中添加查询参数 form.attr('target', ''); form.attr('meth

2017-10-04 09:55:48 2664

转载 Spring实现的动态文件下载(以Excel导出为例)

注意设置response的属性,和文件命名http://asjava.iteye.com/blog/2287019

2017-10-03 15:30:32 447

转载 使用全注解配置Spring MVC+Spring +MyBatis框架,带事务配置。

http://blog.csdn.net/ykzhen2015/article/details/70669861http://blog.csdn.net/ykzhen2015/article/details/70666623Spring MVC offical web site:https://docs.spring.io/spring/docs/current/s

2017-10-02 14:02:36 224

转载 12306和天猫到底哪个难做

前淘宝工程师谈12306:做它比做淘宝难http://www.chinaz.com/news/2014/1205/375892.shtmlhttps://www.zhihu.com/question/34153704?sort=created

2017-10-02 10:39:57 239

转载 jQuery $(document).ready()与window.onload的区别

区别:http://blog.csdn.net/xiebaochun/article/details/36375481jQuery方法的构建原理http://www.cnblogs.com/kidney/p/5879255.html

2017-10-01 21:57:17 207

转载 Oracle over(partition by ...order by ...)

Oracle over(partition by ...order by ...)http://www.cnblogs.com/shined/archive/2013/01/16/2862809.htmloracle下lag和lead分析函数http://blog.csdn.net/thinkscape/article/details/8290894

2017-09-30 14:29:51 173

转载 Oracle 删除重复数据只留一条

http://www.cnblogs.com/252e/archive/2012/09/13/2682817.html查询及删除重复记录的SQL语句 1、查找表中多余的重复记录,重复记录是根据单个字段(Id)来判断 select * from 表 where Id in (select Id from 表 group byId having coun

2017-09-30 13:55:43 151

转载 跟阿铭学Linux(第2版)

跟阿铭学Linux(第2版)http://www.apelearn.com/study_v2/#

2017-09-29 13:57:04 531 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除