anchor.diff: -<%@ page pageEncoding="koi8-r" contentType="text/html; charset=utf-8"%>
  +<%@ page pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
   <%@ page import="java.io.File, java.io.IOException, java.net.URLEncoder, java.sql.Connection, java.sql.PreparedStatement"  %>
   <%@ page import="java.sql.ResultSet" %>
   <%@ page import="java.sql.Statement" %>
  
positive.code:   if (showForm) {
  %>
  <p>
      .    <a href="rules.jsp"></a> .
  </p>
  <p>
       :
    <ul>
      <li> x :  50x50  150x150 </li>
      <li>: jpeg, gif, png</li>
      <li>   30 Kb</li>
    </ul>
  </p>
  
  <form action="addphoto.jsp" method="POST" enctype="multipart/form-data">
  <% if (error != null) {
    out.print("<strong>! " + error.getMessage() + "</strong><br>");
    //error.printStackTrace(new PrintWriter(out));
  }
  %>
    <input type="file" name="file"><br>
    <input type="submit" value="">
  </form>
  <%
    }
  
negative.code:       pst.setInt(2, user.getId());
        pst.executeUpdate();
  
        logger.info("Установлена фотография пользователем " + user.getNick());
  
        response.sendRedirect(tmpl.getMainUrl() + "whois.jsp?nick=" + URLEncoder.encode(user.getNick()) + "&nocache=" + random.nextInt());
      } catch (IOException ex) {
  