阅读背景:

如何在Spring MVC和Hibernate中将对象列表转换为JSON ?

来源:互联网 

I'm Using Spring MVC and hibernate to fetch data from MySQL. In the controller class a ModelAndView method listEmployees is returning a MAP.The method is getting list of Employee objects from EmployeeService class. I want this method to take list of Employee Objects from Service class and covert it into JSON,or convert it into JSON and write that data in a JSON file so that I can use this JSON data in a JSP page.I'm Using Spring MVC and hibernate to fetch dat




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: