自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 spring通过@Configuration @Bean注入Bean

1.spring mvc项目可以直接在controller里面注入request,response@Autowiredprivate HttpServletRequest request;@Autowiredprivate HttpServletResponse response;然后就突发奇想是否可以@Ahtowired注入其他bean,最后发现使用@Configur

2017-09-13 17:16:18 2603

转载 mybatis绑定错误另外一种原因

先阅读 http://blog.csdn.net/softwarehe/article/details/8889206mybatis: basepackage: com.tk.**.dao xmlLocation: classpath*:com/tk/**/*.xmldao层以jar包的形式依赖到项目中,classpath需要添加*号

2017-09-06 20:32:05 553

原创 spring cloud整合swagger,通过zuul路由

spring cloud整合swagger,通过zuul路由写在前面:开发中项目使用swagger做API管理,所有的请求通过zuul路由。此篇博客以博主实际开发中的架构为参考。pom引入swagger jar包 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</a

2017-09-04 10:17:54 8412 4

原创 freemarker 数字过长去掉逗号

#模板引擎freemarker: #关闭缓存 cache: false #获得request request-context-attribute: ctx #模板加载的位置 template-loader-path: classpath:/templates #前缀 #suffix: .htm #后缀 #p

2017-08-28 11:45:18 1797 1

原创 datetable格式化时间

时间戳类型转date类型 Date.prototype.format = function (format) { var o = { "M+": this.getMonth() + 1, // month "d+": this.getDate(), // day "h+": this.

2017-08-28 11:41:07 2810

原创 对web项目数据库user pwd实行加密

对web项目数据库user pwd实行加密思路:1.写properties配置文件,导入el变量 2.加密properties文件user,pwd 3.在spring加载器解密jdbc.properties配置文件driverClassName=oracle.jdbc.driver.OracleDriverurl=MyuOSAj6tbjyR9+1

2017-01-06 10:07:33 3485

空空如也

空空如也

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

TA关注的人

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