会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Parasis
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2017年10月20日
bulid runnable jar file with dependencies
摘要: maven-assembly-plugin jar-with-dependencies ...
阅读全文
posted @ 2017-10-20 10:14 Parasis
阅读(185)
评论(0)
推荐(0)
编辑
bulid runnable jar file with dependencies and main class
摘要: maven-assembly-plugin jar-with-dependencies ...
阅读全文
posted @ 2017-10-20 10:13 Parasis
阅读(235)
评论(0)
推荐(0)
编辑
2017年7月20日
SpringBoot使用MongoDB教程:spring-boot-starter-data-mongodb
摘要: 1.生成一个springboot mongodb项目 http://start.spring.io/ 2.解压生成的zip,在src/main/resources/application.properties配置mongodb的基本信息 3.创建一个POJO持久化对象 3.创建Repository
阅读全文
posted @ 2017-07-20 16:48 Parasis
阅读(18240)
评论(0)
推荐(0)
编辑
2017年7月14日
spring mvc 整合jsp和thymeleaf两个模板引擎
摘要: http://github.com/dingxiaobo/multi-view-resolver 分别用两个dispatcher分别解析jsp页面和thymeleaf页面 pom.xml src/main/resources/spring-jsp.xml src/main/resources/spr
阅读全文
posted @ 2017-07-14 21:19 Parasis
阅读(4697)
评论(0)
推荐(1)
编辑
2017年6月8日
解决Volley中的JsonObjectRequest jsonRequest参数无法被服务端读取的问题
摘要: 测试代码
阅读全文
posted @ 2017-06-08 11:17 Parasis
阅读(1609)
评论(0)
推荐(0)
编辑
2017年6月1日
为volley的http请求添加自定义request header
摘要: 添加Request header 代码如下 如果发送的请求是JsonObjectRequest,那么此类继承自JsonObjectRequest。 测试代码: 1.服务端: 2.客户端: 运行结果 1.服务端: 2.客户端:
阅读全文
posted @ 2017-06-01 11:15 Parasis
阅读(4890)
评论(0)
推荐(0)
编辑
2017年3月25日
使用spring-boot-starter-data-jpa 怎么配置使运行时输出SQL语句
摘要: 在 application.properties 中加入以下配置
阅读全文
posted @ 2017-03-25 19:56 Parasis
阅读(20118)
评论(2)
推荐(1)
编辑
2017年3月4日
spring-boot-starter-data-jpa 中的 Eaxmple 如何使用
摘要: 本文只简单介绍精确匹配(sql中 'where ** = **')、字符串搜索(sql中'where ** like %name%')。 如果需要更多高级应用,可以参考spring jpa官方示例,传送门。 一.准备工作 1.创建一个标准的spring boot jpa程序,并配置数据库连接 pom
阅读全文
posted @ 2017-03-04 12:47 Parasis
阅读(3530)
评论(0)
推荐(1)
编辑
2017年2月21日
Spring Boot修改最大上传文件限制:The field file exceeds its maximum permitted size of 1048576 bytes.
摘要: Spring Boot 默认最大request size 为10MB(1048576 bytes)。 需要设置以下两个参数 multipart.maxFileSizemultipart.maxRequestSize Spring Boot 1.3.x或者之前 Spring Boot 1.4.x或者之
阅读全文
posted @ 2017-02-21 09:15 Parasis
阅读(25120)
评论(1)
推荐(0)
编辑
2017年2月11日
如何在Spring Boot 中使用 HandlerMethodArgumentResolver
摘要: 本例子是使用HandlerMethodArgumentResolver方便的获取session中的内容。 SessionInfo.java 在session中存储用户数据 SessionInfoArgumentResolver.java HandlerMethodArgumentResolver 的
阅读全文
posted @ 2017-02-11 14:03 Parasis
阅读(10589)
评论(0)
推荐(0)
编辑
上一页
1
2
3
下一页
公告