jstl中的c標籤

<body>
  <!-- 頁面嵌入所用 -->      <div class="conbox" style="width:80%">             <div class="form-item-title" width="80%">             <h2>執法文書</h2>             <div class="right">             <!-- <a href="#" class="btn_up" title="向上"></a> <a href="#" class="btn_down" title="向下"></a> -->             </div>         </div>             <!--class="table_2"  -->             <table class="table_2" border="0"  width="80%">                     <thead>                       <tr>                         <td>舉報投訴</td>                         <td>平常檢查</td>                         <td>通常程序</td>                         <td>簡易程序</td>                       </tr>                     </thead>                         <tbody>                                                        <c:forEach var="wclInfo" items="${wclpage.result}" varStatus="i">                                 <tr>                                     <td><a href='${ctx}/daliycheck/findInfo?id=${wclInfo.ID}'>${wclInfo.TITLE}</a></td>                                     <td>2</td>                                     <td>${wclInfo.SUB_USER_NAME}</td>                                     <td>${wclInfo.SUB_DATE}</td>                                     <td><a onclick="remove(this);" href='${ctx}/daliycheck/delInfo?id=${wclInfo.ID}'>刪除</a></td>                                 </tr>                             </c:forEach>                                                          <c:forEach var="i" begin="1" end="${maxNum}" step="1" varStatus="s">                                 <c:choose>                                        <c:when test="${i<=fn:length(tempList1)}">                                           <c:forEach var="tempList1_obj" items="${tempList1}"  varStatus="b">                                               <c:if test="${b.index==i-1}">                                             <tr>                                                    <td>                                                        <a id="${tempList1_obj.name}"  href="${ctx}/daliycheck/downloadJudgeWrite!download?path=${tempList1_obj.url}&fname=${tempList1_obj.name}">${tempList1_obj.name}</a>                                                        <!--onclick="downLoadWrite('${tempList1_obj.url}','${tempList1_obj.name}');"  -->                                                    </td>                                                </c:if>                                           </c:forEach>                                       </c:when>                                       <c:otherwise>                                           <td>                                                &nbsp;                                            </td>                                       </c:otherwise>                                   </c:choose>                                   <c:choose>                                        <c:when test="${i<=fn:length(tempList2)}">                                           <c:forEach var="tempList2_obj" items="${tempList2}"  varStatus="b">                                               <c:if test="${b.index==i-1}">                                                    <td>                                                        <a id="${tempList2_obj.name}"  href="${ctx}/daliycheck/downloadJudgeWrite!download?path=${tempList2_obj.url}&fname=${tempList2_obj.name}">${tempList2_obj.name}</a>                                                    </td>                                                </c:if>                                           </c:forEach>                                       </c:when>                                       <c:otherwise>                                           <td>                                                &nbsp;                                            </td>                                       </c:otherwise>                                   </c:choose>                                   <c:choose>                                        <c:when test="${i<=fn:length(tempList3)}">                                           <c:forEach var="tempList3_obj" items="${tempList3}"  varStatus="b">                                               <c:if test="${b.index==i-1}">                                                    <td>                                                        <a id="${tempList3_obj.name}"  href="${ctx}/daliycheck/downloadJudgeWrite!download?path=${tempList3_obj.url}&fname=${tempList3_obj.name}">${tempList3_obj.name}</a>                                                    </td>                                                </c:if>                                           </c:forEach>                                       </c:when>                                       <c:otherwise>                                           <td>                                                &nbsp;                                            </td>                                       </c:otherwise>                                   </c:choose>                                   <c:choose>                                        <c:when test="${i<=fn:length(tempList5)}">                                           <c:forEach var="tempList5_obj" items="${tempList5}"  varStatus="b">                                               <c:if test="${b.index==i-1}">                                                    <td>                                                        <a id="${tempList5_obj.name}"  href="${ctx}/daliycheck/downloadJudgeWrite!download?path=${tempList5_obj.url}&fname=${tempList5_obj.name}">${tempList5_obj.name}</a>                                                    </td>                                                </c:if>                                           </c:forEach>                                                </tr>                                       </c:when>                                       <c:otherwise>                                           <td>                                                &nbsp;                                            </td>                                            </tr>                                       </c:otherwise>                                   </c:choose>                               </c:forEach>                                                                                 </tbody>             </table>             <div class="pagesmin">                     <div class="left">                         共 1 條記錄,每頁10條記錄,當前第1/1頁 2/5 頁 <a href="#">上一頁</a> <a href="#">下一頁</a> 跳轉                         <%-- <jsp:include page="/commonpage/wclpageutil.jsp">                             <jsp:param name="url" value="${ctx}/daliycheck/infoSub"/>                         </jsp:include> --%>                     </div>                     <!-- <div class="right">                     <a href="#">查看</a>                     </div> -->             </div>              </div>         </body>
相關文章
相關標籤/搜索