⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ruangmain.jsp

📁 sistem information for universitas
💻 JSP
字号:
<%@page contentType="text/html"%><%@page pageEncoding="UTF-8"%><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%><%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><%@include file="../header.jsp"%><table border="0" cellpadding="0" cellspacing="4" width="100%">    <tr>        <td valign="top" width="160px"><%@include file="../userLink.jsp"%></td>        <td valign="top">            RUANG MAIN<br/>            <html:link action="/ruangAdd.do?method=add" style="text-decoration:none;">Add</html:link><br/>            <html:link action="/ruangList?pageNumber=1" style="text-decoration:none;">First</html:link>            <c:if test="${objectPaging.pageNumber-10>0}">                <html:link action="/ruangList?pageNumber=${objectPaging.pageNumber-10}" style="text-decoration:none;">Prev</html:link>            </c:if>            <c:if test="${objectPaging.pageNumber-10<1}">                Prev            </c:if>            <c:forEach items="${objectPaging.listPaging}" var="pageNumber">                <c:if test="${pageNumber==objectPaging.pageNumber}">                    <b>${pageNumber}</b>                </c:if>                <c:if test="${pageNumber!=objectPaging.pageNumber}">                    <html:link action="/ruangList?pageNumber=${pageNumber}" style="text-decoration:none;">${pageNumber}</html:link>                </c:if>            </c:forEach>            <c:if test="${objectPaging.pageNumber+10<=objectPaging.totalPage}">                <html:link action="/ruangList?pageNumber=${objectPaging.pageNumber+10}" style="text-decoration:none;">Next</html:link>            </c:if>            <c:if test="${objectPaging.pageNumber+10>objectPaging.totalPage}">                Next            </c:if>            <html:link action="/ruangList?pageNumber=${objectPaging.totalPage}" style="text-decoration:none;">Last</html:link>            <table border="1" cellpadding="1" cellspacing="0" width="100%">                <tr>                    <td>NO</td>                    <td>KODE</td>                    <td>NAMA</td>                    <td>KAPASITAS</td>                    <td align="center">OPERASI</td>                </tr>                <c:set var="no" value="${(objectPaging.pageNumber-1)*20}"/>                <c:forEach items="${objectPaging.listObject}" var="ruang">                    <tr>                        <td>${no+1}</td>                        <td>${ruang.kode}</td>                        <td>${ruang.nama}</td>                        <td>${ruang.kapasitas}</td>                        <td align="center"><html:link action="/ruangEdit.do?method=edit&id=${ruang.id}" style="text-decoration:none;">Edit</html:link> | <html:link action="/ruangEdit.do?method=delete&id=${ruang.id}" style="text-decoration:none;">Delete</html:link></td>                    </tr>                    <c:set var="no" value="${no+1}"/>                </c:forEach>                <c:if test="${no<=0}">                    <tr><td align="center" colspan="5">DATA TIDAK ADA ATAU DATA TIDAK DITEMUKAN</td></tr>                </c:if>            </table>        </td>    </tr></table><%@include file="../footer.jsp"%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -