摘要: 后台获取前台数据无非就是获取request,context等但是struts2与struts1不一样。struts1的直接就有public ActionForward getAccountList(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)非常简单但是struts2没有参数,只有一个孤零零的execute()但是struts2不会不让我们取值的,我的取值方法就是:@Override public String exe... 阅读全文
posted @ 2012-03-10 16:38 池塘里的大象 阅读(931) 评论(0) 推荐(0) 编辑