
JAVA
文章平均质量分 67
英雄汉孑
技术日新月异,保持学习的热情和好奇心,拥抱变化,不忘初心,方能行稳致远。
我的个人网站:https://gpt114.com/
展开
-
图片压缩代码和实际操作页面
轻盈视界,高清依旧 —— 智能图片压缩,大容量,小体积,精彩不打折原创 2024-07-05 14:51:01 · 1130 阅读 · 0 评论 -
文件太大了,怎么办,吃了它?分了它?我帮您想想办法。
在开发进程中,众人往往会因文件传输问题而倍感困扰。文件体积过大,占用带宽尚属小事,更棘手的是传输中途突然中断,而后又得重新开始。不过,断点续传算是解决此难题的途径之一。此外,还有一法,即将一个大型文件拆分为多个种子,待全部传送完毕,再进行组装。下面,我以 Java 语言为例加以说明。原创 2024-06-23 10:42:20 · 734 阅读 · 1 评论 -
哥德巴赫猜想通过计算机编程输出,哈哈,这算不算证明呢?
哥德巴赫猜想是数论中的一个著名未解决问题,最早由德国数学家克里斯蒂安·哥德巴赫在1742年提出。猜想的内容是:每个大于2的偶数都可以表示为两个素数之和。原创 2024-06-22 19:11:17 · 971 阅读 · 0 评论 -
java面试的那些事儿02
java面试的那些事儿02原创 2022-10-25 20:23:59 · 490 阅读 · 0 评论 -
关于maven上传jar包到远程仓库及出现401的问题
这个问题网络上也可以搜索一大堆,但很多没有解决根本问题,这个是要分情况的,其根本原因在于setting.xml是否正确1、如果直接在idea工具上deploy,首先先配置好pom.xml<distributionManagement> <repository> <id>releases</id> <name>releases</name> <url>http:/...原创 2020-12-17 15:34:35 · 4309 阅读 · 1 评论 -
spring cloud FeignClient fallback 断路器
spring cloud FeignClient fallback原创 2017-10-24 17:03:26 · 4864 阅读 · 0 评论 -
springboot FeignClient 请求接收json
springboot FeignClient 求接收json原创 2017-10-20 16:06:04 · 8635 阅读 · 0 评论 -
集群之 -- rabbitmq
集群之 -- rabbitmq原创 2017-10-31 15:53:39 · 361 阅读 · 0 评论 -
访问外部接口时报错2017-09-30 15:47:21.791 ERROR 23312 --- [apr-8092-exec-5] o.s.boot.web.support.ErrorPageFil
访问外部接口时报错2017-09-30 15:47:21.791 ERROR 23312 --- [apr-8092-exec-5] o.s.boot.web.support.ErrorPageFil原创 2017-09-30 15:49:19 · 3314 阅读 · 0 评论 -
都什么时代了,你只会ssh么?
都“互联网+”时代了,JAVA三大框架中,目前SpringMVC已更新换代,越来越好用了但是为什么还会有很多新旧系统前仆后继地使用struts1、struts2或者hibernate呢?仓库工具还在用VSS,或者SVN呢?是不是OUT了? 说实话,如果让我看见这种旧技术的存在,我会感觉这个公司肯定没有前途了.目前主流框架从早期的ssh,ssm,ssi到互联网时...原创 2017-10-12 14:58:58 · 700 阅读 · 0 评论 -
Xss 安全 注入 跨站攻击
Xss 安全 注入 跨站攻击原创 2017-09-28 09:11:24 · 316 阅读 · 0 评论 -
Intellij Idea maven hello world
Intellij Idea maven hello world原创 2017-09-22 09:34:46 · 999 阅读 · 0 评论 -
WebRequestInterceptor WebRequestInterceptor的应用
@Configurationpublic class WebMvcBoot extends WebMvcConfigurerAdapter { @Resource public HandlerInterceptor handlerInterceptor; @Resource private MyWebRequestInterceptor myWebRequestI翻译 2017-10-17 10:51:47 · 2891 阅读 · 0 评论 -
RequestInterceptor FeignClient header
RequestInterceptor FeignClient原创 2017-09-26 09:18:18 · 17273 阅读 · 0 评论 -
集群之 -- spring cloud eureka 集群代码
spring cloud eureka 集群代码原创 2017-10-25 14:56:16 · 463 阅读 · 0 评论 -
线上聊天 整理了下netty socket.io
整理了下netty socket.io 线上聊天转载 2017-11-16 13:13:10 · 4930 阅读 · 0 评论 -
intellij idea 便捷开发1-File and Code Templates
intellij idea 便捷开发1-File and Code Templates原创 2017-10-26 11:07:30 · 4789 阅读 · 0 评论 -
intellij idea 的一些奇怪现象
intellij idea 的一些奇怪现象原创 2017-09-19 14:33:46 · 979 阅读 · 0 评论 -
Required String parameter is not present 或 Unsupported Media Type
Required String parameter is not present或Unsupported Media Type原创 2017-09-29 15:52:41 · 2767 阅读 · 0 评论 -
springboot FeignClient POST带参数无法传值问题
springboot POST带参数无法传值问题原创 2017-10-20 15:33:32 · 14528 阅读 · 1 评论 -
集群之 -- zookeeper -JAVA小例子bean操作
集群之 -- zookeeper -JAVA小例子set get原创 2017-10-27 11:28:13 · 455 阅读 · 0 评论 -
spring boot 系统启动运行的类 MyCommandLineRunner
spring boot 系统启动运行的类 MyCommandLineRunner原创 2017-08-25 16:46:06 · 415 阅读 · 0 评论 -
JAVA FTP 连接 及判断文件是否存在
JAVA FTP 连接 及判断文件是否存在原创 2017-08-25 17:13:19 · 21741 阅读 · 0 评论 -
spring boot jpa配置
spring boot jpa配置原创 2017-09-22 17:55:23 · 443 阅读 · 0 评论 -
DES加解密例子
DES加解密例子转载 2017-09-20 14:51:53 · 861 阅读 · 0 评论 -
ServletRequestAttributes 转发headers
ServletRequestAttributes headers原创 2017-09-28 14:02:18 · 1415 阅读 · 0 评论 -
spring boot 调用接口超时解决 HystrixRuntime
spring boot 调用接口超时解决原创 2017-09-19 11:26:42 · 27981 阅读 · 0 评论 -
POST提交异常 JsonParseException
POST提交异常 JsonParseException原创 2017-09-21 11:57:08 · 10809 阅读 · 0 评论 -
freemark 访问页面,目录命名可以这样写
import org.springframework.beans.factory.annotation.Autowired;import org.springframework.beans.factory.annotation.Value;import org.springframework.stereotype.Controller;import org.springframework.w原创 2017-09-20 17:23:11 · 232 阅读 · 0 评论 -
org.bouncycastle.jce.provider.JCERSAPrivateCrtKey
org.bouncycastle.jce.provider.JCERSAPrivateCrtKey原创 2017-09-29 17:26:13 · 2419 阅读 · 7 评论 -
SpringBootServletInitializer main
SpringBootServletInitializer原创 2017-10-18 14:30:54 · 5260 阅读 · 0 评论 -
springboot 获取上下文代码 ApplicationContextAware
springboot 获取上下文代码 ApplicationContextAware翻译 2017-10-18 15:05:24 · 4815 阅读 · 0 评论 -
RSA实例 java 安全
RSA实例 java转载 2017-09-22 09:18:50 · 542 阅读 · 0 评论 -
c3p0中的c3p0.preferredTestQuery配置,mysql和oracle配置不一样
c3p0中的c3p0.preferredTestQuery配置,mysql和oracle配置不一样原创 2017-09-22 16:30:02 · 3339 阅读 · 0 评论 -
防盗链referer origin
referer origin翻译 2017-10-19 11:28:43 · 969 阅读 · 0 评论 -
springboot 全局异常-ExceptionHandler
springboot 全局异常-ExceptionHandler原创 2017-10-19 16:07:05 · 6700 阅读 · 0 评论 -
集群之 -- zookeeper -JAVA小例子 节点的操作
集群之 -- zookeeper -JAVA小例子 节点的操作原创 2017-10-27 11:53:02 · 428 阅读 · 0 评论 -
BeanUtil 反射机制 拷贝对象类或list
BeanUtil 反射机制 拷贝对象类或list原创 2017-08-25 16:28:47 · 6783 阅读 · 0 评论