Forum forum = forumFactory.getForum(Integer.parseInt(request.getParameter("id")));
request.setAttribute("id", request.getParameter("id"));
//check permission
checkPermission(request, OperationConstants.DELETE_MESSAGE, forum);
ForumThread t=forum.getThread( Integer.parseInt(request.getParameter("threadID")));
Message m=t.getMessage( Integer.parseInt(request.getParameter("messageID")));
if(t.getRootMessage().getID()==(m.getID()))isRootmessage=true;
t.deleteMessage(m);
} catch (ForumNotFoundException e) {
errors.add("general", new ActionError("content.forumNotFound"));
} catch (ForumThreadNotFoundException e) {