From: Natasha Sherstneva Date: Tue, 26 Nov 2013 09:24:09 +0000 (+0000) Subject: PROT-7 fixed a problem with reportProteinSequence X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=18bbe3b536b077b872ec703660b52784a7ee2e0d;p=proteocache.git PROT-7 fixed a problem with reportProteinSequence --- diff --git a/server/compbio/listeners/ServletSequenceProtein.java b/server/compbio/listeners/ServletSequenceProtein.java index ef7353f..84af1b8 100644 --- a/server/compbio/listeners/ServletSequenceProtein.java +++ b/server/compbio/listeners/ServletSequenceProtein.java @@ -35,11 +35,11 @@ public class ServletSequenceProtein extends HttpServlet { if (search.equals("Search counter")) { List r = cr.readProteinByCounter(counter); request.setAttribute("results", r); - System.out.println ("Search counter: " + r.size() + " proteins found"); + // System.out.println ("Search counter: " + r.size() + " proteins found"); } else { List r = cr.readProteins(prot, flag); request.setAttribute("results", r); - System.out.println ("Search sequence: " + r.size() + " proteins found"); + // System.out.println ("Search sequence: " + r.size() + " proteins found"); } final long endTime = System.currentTimeMillis(); request.setAttribute("timeExecution", (endTime - startTime)); diff --git a/website/ReportSequenceProtein.jsp b/website/ReportSequenceProtein.jsp index b7632d7..634cd33 100644 --- a/website/ReportSequenceProtein.jsp +++ b/website/ReportSequenceProtein.jsp @@ -1,4 +1,5 @@ <%@page import="java.util.ArrayList"%> +<%@ page trimDirectiveWhitespaces="true"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%> @@ -66,9 +67,7 @@ - ${seq} - - ${seq} + ${seq}${seq}