How to create DAO class which returns JSON in Struts 2?

徘徊边缘 提交于 2019-12-13 22:57:09

问题


How to create DAO class to create jQuery grid in Struts 2? I have gone through documents but didn't find how to create DAO and what it should actually contain.


回答1:


Find the simple DAOs in the struts2-jquery-grid-showcase source code. They use a simple abstract generic DAO used with the premier and full-hibernate-plugin.



来源:https://stackoverflow.com/questions/17945491/how-to-create-dao-class-which-returns-json-in-struts-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!