- 博客(50)
- 收藏
- 关注
转载 基于Spring Boot 实现定时任务
https://www.tianmaying.com/tutorial/spring-scheduling-task
2018-08-13 13:56:03
237
转载 Actuator full authentication is required to access this resource
配置spring-boot-actuator时候遇到的一些小问题https://www.jianshu.com/p/b0b40038bb93
2018-08-03 14:54:36
1190
转载 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
539
转载 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
386
转载 Spring自带的Cache的设置与开发
A Guide To Caching in Spring | Baeldunghttp://www.baeldung.com/spring-cache-tutorial
2018-07-09 12:19:10
487
原创 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
8505
原创 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
3849
原创 动态生成zip文件,并下载
Maven 依赖设置<dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.5</version></dependency>/** *
2018-05-13 21:02:49
606
原创 从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
296
原创 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>...
2018-05-08 11:36:25
2292
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
1943
原创 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
1618
原创 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
525
转载 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
184
原创 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
251
原创 自己的一些常用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
223
转载 Spring+Spring MVC+Hibernate框架搭建
Spring+Spring MVC+Hibernate框架搭建和开发http://www.cnblogs.com/xrog/p/6359706.html
2018-01-03 11:46:32
179
转载 Java8 lambda表达式10个示例
Java8 lambda表达式10个示例http://www.importnew.com/16436.html
2018-01-03 11:42:31
187
转载 Mocking Void Methods with Mockito
http://www.baeldung.com/mockito-void-methodsMockito 无返回值的方法。
2017-12-29 17:45:16
198
翻译 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
137
转载 Spring 容器AOP的实现原理——动态代理
Spring 容器AOP的实现原理——动态代理http://wiki.jikexueyuan.com/project/ssh-noob-learning/dynamic-proxy.html
2017-12-11 17:28:34
216
转载 MySQL 事务是如何实现的
MySQL 事务是如何实现的http://www.cnblogs.com/zhiqian-ali/p/5668199.html
2017-12-11 17:26:14
712
转载 如何 在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
1552
转载 用Rabbit MQ API 发送Java对象
http://blog.youkuaiyun.com/btwangzhi/article/details/55001348Commons Lang API org.apache.commons commons-lang3 3.6
2017-10-17 08:58:24
619
转载 Oracle connect by level
http://blog.youkuaiyun.com/haiross/article/details/17586565
2017-10-13 17:24:00
278
转载 MySQL Stored Procedure
http://www.mysqltutorial.org/mysql-stored-procedure-tutorial.aspx
2017-10-12 17:23:25
321
转载 正则表达式
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
128
转载 Kettle定时执行(ETL工具)
http://blog.youkuaiyun.com/feng19821209/article/details/5800960
2017-10-12 17:16:44
576
转载 context component scan spring
http://blog.youkuaiyun.com/sgls652709/article/details/49858091http://blog.youkuaiyun.com/chunqiuwei/article/details/16115135https://docs.spring.io/spring/docs/3.0.0.M3/reference/html/ch04s12.html
2017-10-07 09:10:27
166
转载 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
2724
转载 Spring实现的动态文件下载(以Excel导出为例)
注意设置response的属性,和文件命名http://asjava.iteye.com/blog/2287019
2017-10-03 15:30:32
479
转载 使用全注解配置Spring MVC+Spring +MyBatis框架,带事务配置。
http://blog.youkuaiyun.com/ykzhen2015/article/details/70669861http://blog.youkuaiyun.com/ykzhen2015/article/details/70666623Spring MVC offical web site:https://docs.spring.io/spring/docs/current/s
2017-10-02 14:02:36
253
转载 12306和天猫到底哪个难做
前淘宝工程师谈12306:做它比做淘宝难http://www.chinaz.com/news/2014/1205/375892.shtmlhttps://www.zhihu.com/question/34153704?sort=created
2017-10-02 10:39:57
254
转载 jQuery $(document).ready()与window.onload的区别
区别:http://blog.youkuaiyun.com/xiebaochun/article/details/36375481jQuery方法的构建原理http://www.cnblogs.com/kidney/p/5879255.html
2017-10-01 21:57:17
232
转载 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.youkuaiyun.com/thinkscape/article/details/8290894
2017-09-30 14:29:51
205
转载 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
188
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人