anchor.diff:  </p>
       <form method="POST">
         <table>
  -      <tr><td>Seed word:</td><td><input name="seed" type="text" size="30" value="<%= seedWord == null ? "download" : Text.encodeIllegalXMLCharacters(seedWord) %>"/></td></tr>
  +      <tr><td>Seed word (optional):</td><td><input name="seed" type="text" size="30" value="<%= seedWord == null ? "" : Text.encodeIllegalXMLCharacters(seedWord) %>"/></td></tr>
         <tr><td>Number of documents:</td><td><input name="num" type="text" size="30" value="<%= numDocs == 0 ? 100 : numDocs %>"/></td></tr>
         <tr valign="top"><td>Document types:</td><td><input name="filetype" type="checkbox" value="pdf" <%= filetypes.contains("pdf") ? "checked" : "" %>/> Adobe Acrobat PDF<br/><input name="filetype" type="checkbox" value="rtf" <%= filetypes.contains("rtf") ? "checked" : "" %>/> Rich Text Format<br/><input name="filetype" type="checkbox" value="doc" <%= filetypes.contains("doc") ? "checked" : "" %>/> Microsoft Word<br/><input name="filetype" type="checkbox" value="ppt" <%= filetypes.contains("ppt") ? "checked" : "" %>/> Microsoft PowerPoint<br/><input name="filetype" type="checkbox" value="xls" <%= filetypes.contains("xls") ? "checked" : "" %>/> Microsoft Excel<br/></td></tr>
         <tr><td>&nbsp;</td><td><input type="submit" value="Populate!"/></td></tr>
  
positive.code:         }
          String[] types = request.getParameterValues("filetype");
          if (types != null) {
              for (int i = 0; i < types.length; i++) {
                  filetypes.add(types[i]);
              }
          }
  
  if (seedWord != null && numDocs > 0 && filetypes.size() > 0) { %>
  
negative.code:   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  --%><%@ page import="java.io.FilterInputStream,
                       java.io.IOException,
                       java.io.InputStream,
                       java.io.InputStreamReader,
                       java.net.URL,
                       java.net.URLConnection,
                       java.net.URLDecoder,
                       java.net.URLEncoder,
                       java.util.ArrayList,
                       java.util.Arrays,
                       java.util.Calendar,
                       java.util.Collections,
                       java.util.Iterator,
                       java.util.List,
                       javax.jcr.Node,
                       javax.jcr.Repository,
                       javax.jcr.Session,
                       javax.jcr.SimpleCredentials,
                       javax.swing.text.AttributeSet,
                       javax.swing.text.html.HTML,
                       javax.swing.text.html.HTMLDocument,
                       javax.swing.text.html.HTMLEditorKit,
                       org.apache.jackrabbit.j2ee.RepositoryAccessServlet,
                       org.apache.jackrabbit.util.Text"
   %><%@ page contentType="text/html;charset=UTF-8" %><%
      Repository rep;
      Session jcrSession;
  