anchor.diff:      User user = User.getCurrentUser(db, session);
   
       if (!message.isEditable(db, user)) {
  -      throw new AccessViolationException("   ");
  +      throw new AccessViolationException("это сообщение нельзя править");
       }
   
       boolean showForm = true;
  
positive.code: <%@ page pageEncoding="koi8-r" contentType="text/html; charset=utf-8"%>
  <%@ page
      import="java.sql.Connection,java.sql.PreparedStatement,java.util.List"
        buffer="200kb" %>
  
negative.code: 
      if (showForm) {
  %>
  <h1>Редактирование</h1>
  <div class=messages>
    <lor:message db="<%= db %>" message="<%= newMsg %>" showMenu="false" user="<%= Template.getNick(session) %>"/>
  </div>
  
  <form action="edit.jsp" name="edit" method="post">
    <input type="hidden" name="msgid" value="<%= msgid %>">
    Заголовок новости :
    <input type=text name=title size=40 value="<%= newMsg.getTitle()==null?"":HTMLFormatter.htmlSpecialChars(newMsg.getTitle()) %>" ><br>
  
    <br>
  