PROT-7 add servletjobbyday
[proteocache.git] / website / ReportSequenceProtein.jsp
index 3f6028a..88cd29f 100644 (file)
        </c:otherwise>
 </c:choose>
 <h3>Time execution: ${timeExecution} ms</h3>
+<c:choose>
+
+       <c:when test="${result == null}">
+               <h3>No jobs for sequence ${prot} </h3>
+       </c:when>
+       <c:otherwise>
+       
+       
 <table border="1" style="border-collapse: collapse; white-space: nowrap">
        <c:choose>
                <c:when test="${search == 'Search counter'}">
@@ -29,7 +37,7 @@
                                                <td
                                                        style="text-align: left; border-buttom: dotted; font-family: monospace"><a
                                                        title="Click to view predictions"
-                                                       href="ProtServlet?prot=${res.prot}&protein=whole&Search=Search+sequence&counterJob=${counter}">${res.prot}</a>
+                                                       href="ServletSequenceProtein?prot=${res.prot}&protein=whole&Search=Search+sequence&counterJob=${counter}">${res.prot}</a>
                                                </td>
                                        </tr>
                                </c:forEach>
                        <thead>
                                <tr>
                                        <th style="text-align: centre">ID</th>
-                                       <th style="text-align: centre">Prediction</th>
+                                       <th style="text-align: centre">Predictions</th>
                                </tr>
                        </thead>
                        <tbody>
                                <c:forEach items="${result}" var="res" varStatus="status">
                                        <tr>
-                                               <td rowspan="2">${res.id}</td>
+                                               <td rowspan="2"><a href="ServletLogInfo?IdJob=${res.id}">${res.id}</a></td>
                                                <c:if test="${flag == 'whole'}">
                                                        <td
                                                                style="text-align: left; border-buttom: dotted; font-family: monospace"><c:out
@@ -74,3 +82,5 @@
        </c:choose>
        </tbody>
 </table>
+</c:otherwise>
+</c:choose>
\ No newline at end of file