anchor.diff:  <%@ page contentType="text/html; charset=iso-8859-1" language="java"
  -         import="com.justjournal.User, com.justjournal.WebError" %>
  +         import="com.justjournal.UserImpl, com.justjournal.WebError" %>
   <%@ page import="com.justjournal.db.*" %>
   <%@ page import="com.justjournal.utility.StringUtil" %>
   <%@ page import="com.justjournal.utility.Xml" %>
  
positive.code:     boolean nopermission = false;
  
      try {
          eid = new Integer(request.getParameter("id")).intValue();
      } catch (NumberFormatException ex1) {
          eid = 0;
      }
  
      if (eid <= 0) {
          //response.reset();
          //response.sendError(500, "bad entry id");
          //response.flushBuffer();
          PrintWriter out2 = response.getWriter();
          WebError.Display("Error", "Invalid entry id.", out2);
          return;
  
negative.code:         nopermission = true;
  
      /* Strange error.  Entry is garbage */
      if (entry != null && entry.getUserId() == 0)
          nopermission = true;
  
      /* non-Entry owner is viewing a friends entry */
      assert entry != null;
      if ((aUser == null || !aUser.equalsIgnoreCase(entry.getUserName())) && entry.getSecurityLevel() == 1)
          nopermission = true;
  %>
  <?xml version="1.0" encoding="iso-8859-1"?>
  