如何创建在Struts 2中返回JSON的DAO类? [英] How to create DAO class which returns JSON in Struts 2?

查看:359
本文介绍了如何创建在Struts 2中返回JSON的DAO类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在Struts 2中创建DAO类以创建jQuery网格?我浏览了文档,但没有找到如何创建DAO及其应包含的内容.

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.

推荐答案

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.

这篇关于如何创建在Struts 2中返回JSON的DAO类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆