JQuery Grid in struts2 - beginner

℡╲_俬逩灬. 提交于 2019-12-04 01:43:02

问题


Im new to struts2 and JQuery programming. Im my application, when the loginAction is called and if the user is an Admin i direct them to the AdminLoadAction. This action loads the adminHome.jsp. What i need is for adminHome.jsp to use a JQueryGrid to display all the customers in the system. Right now my AdminLoadAction returns success (i use jdbc to connect to DB so i query my db and get a List of all the customers in the system, which works fine).

I have been trying to find good step by step kind of tutorials but havent found any. Can Some one give an idea of what change will i need to do to achieve this. So far i have downloaded and added the struts2-jquery plugin, struts2-jquery-grid plugin and the struts2-json plugin to my project.

Thanks!


回答1:


Have you already seen this slides?

http://www.slideshare.net/johannesgeppert1/introduction-into-struts2-jquery-grid-tags

Another good point to start is study the examples in the Showcase and Showcase Grid App. And take a look at the Wiki Pages around the Grid Tag.

Johannes



来源:https://stackoverflow.com/questions/12355549/jquery-grid-in-struts2-beginner

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