2016年5月13日

spring-mvc junit测试

摘要: import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.TestPropertySource; import org.springframework.test.context.juni... 阅读全文

posted @ 2016-05-13 17:45 jec 阅读(436) 评论(0) 推荐(0) 编辑

spring-mvc jackson配置json为空不输出

摘要: 使用的spring-mvc版本是4.1.6,jackson版本是2.1.4 在spring-mvc配置文件中添加以下代码就行 阅读全文

posted @ 2016-05-13 15:09 jec 阅读(2679) 评论(0) 推荐(0) 编辑

导航