摘要:
UserAciton中通过hibernate查询到的数据保存到ArrayList中,JSP页面希望表格输出ArrayList对象,有两种方法:一、UserAction中获取到的ArrayList对象填充到UserForm中,jsp页面获取UserForm的初始值。UserAction的部分代码:private ActionForward executeManageAction(ActionMapping mapping, ActionForm form,HttpServletRequest request, HttpServletResponse response) {UserForm use 阅读全文