问题
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