@Action( value = "update_privilege", results = { @Result( name = "success", type = "json", params = { "contentType", "text/json", "includeProperties", "results" }) }) public String execute() { try { Privilege old = privilegeBiz.findPrivilegeById(privilege.getId()); privilege.setFullPath(old.getFullPath()); privilege.setIsShow(old.getIsShow()); privilegeBiz.modify(privilege); results = true; } catch (Exception e) { e.printStackTrace(); } return SUCCESS; }