public String deleteReceive() { messageService.deleteReceive(msg.getId()); ActionUtil.setUrl("/message_listReceive.action"); return ActionUtil.REDIRECT; }
public String show() throws IllegalAccessException, InvocationTargetException { Message tm = messageService.updateRead(msg.getId(), isRead); BeanUtils.copyProperties(msg, tm); ActionContext.getContext().put("atts", messageService.listAttachmentByMsg(msg.getId())); return SUCCESS; }