anchor.diff:      User user = User.getUser(db, nick);
       user.checkAnonymous();
   
  -    Statement st = db.createStatement();
  -    ResultSet rs = st.executeQuery("SELECT * FROM users WHERE id=" + user.getId());
  -    rs.next();
  +    UserInfo userInfo = new UserInfo(db, user.getId());
   %>
   
   <c:if test="${error!=null}">
  
positive.code: <form method=POST action="register.jsp" id="changeForm">
  <input type=hidden name=mode value="change">
  Полное имя:
  <input type=text name="name" size="40" value="<%= rs.getString("name") %>"><br>
  Пароль:
  <input class="required" type=password name="oldpass" size="20"><br>
  Новый пароль:
  
negative.code: <%@ page contentType="text/html; charset=utf-8"%>
  <%@ page import="java.sql.Connection,java.sql.ResultSet,java.sql.Statement"  %>
  <%@ page import="ru.org.linux.site.*" %>
  <%@ taglib tagdir="/WEB-INF/tags" prefix="lor" %>
  <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  
  