1 <%@page import="java.util.ArrayList"%>
2 <%@ page trimDirectiveWhitespaces="true"%>
3 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
4 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
5 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
6 <%@ taglib uri="http://displaytag.sf.net" prefix="dt"%>
8 <c:when test="${search == 'Search counter'}">
9 <h3>Dundee ProteoCache query result for jobs more than ${counter} </h3>
12 <h3>Dundee ProteoCache query result</h3>
15 <h3>Time execution: ${timeExecution} ms</h3>
16 <table border="1" style="border-collapse: collapse; white-space: nowrap">
18 <c:when test="${search == 'Search counter'}">
21 <th style="text-align: centre">Number of jobs</th>
22 <th style="text-align: left">Protein</th>
26 <c:forEach items="${result}" var="res">
28 <td>${res.totalId}</td>
30 style="text-align: left; border-buttom: dotted; font-family: monospace"><a
31 title="Click to view predictions"
32 href="ProtServlet?prot=${res.prot}&protein=whole&Search=Search+sequence&counterJob=${counter}">${res.prot}</a>
40 <th style="text-align: centre">ID</th>
41 <th style="text-align: centre">Prediction</th>
45 <c:forEach items="${result}" var="res" varStatus="status">
47 <td rowspan="2">${res.id}</td>
48 <c:if test="${flag == 'whole'}">
50 style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out
51 value="${res.prot}" /></td>
53 <c:if test="${flag == 'part'}">
55 style="text-align: left; border-buttom: dotted; font-family: monospace">
56 <c:forEach items="${res.subProt}" var="seq">
58 <c:when test="${fn:contains(seq, prot)}">
59 <span style="background-color: blue">${seq}</span>
61 <c:otherwise>${seq}</c:otherwise>
69 style="text-align: left; border-top: hidden; font-family: monospace"><c:out
70 value="${res.jpred}" /></td>