04 2017 档案

spring boot 的 ApplicationContext 及 getbean
摘要:在spring中,我们通过如下代码取得一个spring托管类:ApplicationContext ac = new FileSystemXmlApplicationContext("applicationContext.xml"); ac.getBean("bea... 阅读全文

posted @ 2017-04-26 22:07 silyvin 阅读(524) 评论(0) 推荐(0) 编辑

springBoot上传文件大小设置
摘要:今天在做文件上传时出现了如下错误,是上传文件大小大于默认大小了错误日志org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception i... 阅读全文

posted @ 2017-04-24 21:36 silyvin 阅读(489) 评论(0) 推荐(0) 编辑

Spring Boot不允许加载iframe问题解决
摘要:在spring boot项目中出现不能加载iframe页面报一个"Refused to display 'http://......' in a frame because it set 'X-Frame-Options' to 'DENY'. "错误解决方式:因sp... 阅读全文

posted @ 2017-04-24 21:32 silyvin 阅读(1385) 评论(0) 推荐(0) 编辑

Java在静态代码块中读取properties文件的思考
摘要:http://lavasoft.blog.51cto.com/62575/62174/public final class TestProperties { private static String param1; private static St... 阅读全文

posted @ 2017-04-23 10:22 silyvin 阅读(2064) 评论(1) 推荐(0) 编辑

nginx 配置多域名 及 tomcat 负载均衡 二
摘要:上回建立了 test.tomcat.com —— nginx —— 8080 8081缺点在于1 nginx负载均衡部署的 127.0.0.1:8080 和 127.0.0.1:8081 访问各自的webapp目录,给war包的部署带来麻烦,需要部署两台tomcat2... 阅读全文

posted @ 2017-04-22 17:49 silyvin 阅读(207) 评论(0) 推荐(0) 编辑

nginx 配置多域名 及 tomcat 负载均衡 一
摘要:环境 win71 下载nginx ,解压2 nginx.conf 配置 server { listen 80; server_name localhost; #charset koi8-r; ... 阅读全文

posted @ 2017-04-22 13:25 silyvin 阅读(182) 评论(0) 推荐(0) 编辑

centos 7 安装 rabbitmq
摘要:http://flyingdutchman.iteye.com/blog/1887283http://blog.csdn.net/yasi_xi/article/details/8952078 阅读全文

posted @ 2017-04-02 21:02 silyvin 阅读(77) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示