public void validateAdd() {
   if (sus == null || sus.length <= 0) {
     this.addFieldError("sus", "必须选择要发送的用户");
   }
   if (msg.getTitle() == null || "".equals(msg.getTitle())) {
     this.addFieldError("title", "私人信件的标题不能为空");
   }
   if (this.hasFieldErrors()) {
     addInput();
   }
 }
 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;
 }