anchor.diff:  <%@ page import="com.justjournal.utility.StringUtil" %>
   <%@ page import="java.util.Collection" %>
   <%@ page import="java.util.Iterator" %>
  +<%@ page import="com.justjournal.utility.Xml" %>
  +<%--
  +Displays user comments on a particular journal entry.
  +--%>
   <%
       int eid;
       boolean nopermission = false;
  
positive.code: 
      Collection comments = CommentDao.view(eid);
  
      EntryTo entry = EntryDAO.viewSingle(eid, false);
  
      User pf = new User(entry.getUserName());
  
      // user wants it private, has comments disabled for this entry
      // or the security level is private.
      if (pf.isPrivateJournal() ||
              !entry.getAllowComments() ||
              entry.getSecurityLevel() == 0) {
          entry = new EntryTo();
          nopermission = true;
      }
  %>
  <?xml version="1.0" encoding="iso-8859-1"?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  
negative.code:         eid = 0;
      }
  
      if (eid <= 0) {
          response.reset();
          response.sendError(500, "bad entry id");
          response.flushBuffer();
  