PROT-7 fixed ServletProteinSequence
[proteocache.git] / website / ReportSequenceProtein.jsp
index 3f6028a..5225bf5 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>
@@ -74,3 +82,5 @@
        </c:choose>
        </tbody>
 </table>
+</c:otherwise>
+</c:choose>
\ No newline at end of file