// 编辑 public ActionForward edit( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { String id = request.getParameter("id"); Systemparameter systemparameter = systemparameterService.querySystemparameter(Integer.parseInt(id)); SystemparameterForm systemparameterForm = new SystemparameterForm(); BeanUtils.copyProperties(systemparameterForm, systemparameter); request.setAttribute("obj", systemparameterForm); return mapping.findForward("edit"); }