08 2017 档案

摘要:一、服务端 接口 实现 这里的@Autowired注解如果单独使用会报错,需要配置spring-mvc.xml,配置如下: <bean id="serviceMessage" class="com.test.webservice.service.ServiceMessageImpl"></bean> 阅读全文
posted @ 2017-08-02 12:40 无知死循环 阅读(430) 评论(0) 推荐(0)
摘要:import com.google.gson.Gson; //string转bean Gson gson = new Gson(); UserPage userPage = gson.fromJson(str, UserPage.class); List data = userPage.getData(); ... 阅读全文
posted @ 2017-08-01 11:24 无知死循环 阅读(444) 评论(0) 推荐(0)