Ejemplo n.º 1
0
 public String deleteReceive() {
   messageService.deleteReceive(msg.getId());
   ActionUtil.setUrl("/message_listReceive.action");
   return ActionUtil.REDIRECT;
 }
Ejemplo n.º 2
0
 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;
 }