zoukankan      html  css  js  c++  java
  • Java高级架构师(一)第14节:新增和列表页面和分页tag

    <%@ page language="java" contentType="text/html; charset=utf-8"
        pageEncoding="utf-8"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Insert title here</title>
    <link href="${pageContext.request.contextPath}/static/css/application.css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/static/js/application.js"></script>
    <script src="${pageContext.request.contextPath}/static/js/jquery-1.11.0.js"></script>
    </head>
    <body>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@taglib prefix="myTag" tagdir="/WEB-INF/tags" %>
    
    
    <table  width="100%" border="1" cellpadding="0" cellspacing="1" class="tableLine DoubleColorTable" >
    	
    	<tr>
    		<td colspan="6">
    			<a href="${pageContext.request.contextPath}/customer/toQuery">转到查询</a>
    			  
    			<a href="${pageContext.request.contextPath}/customer/toAdd">转到新增</a>
    		</td>
    	</tr>
    	<tr>
    		<td colspan="6" align="center" class="tableLineBg">
    			客户列表
    		</td>
    	</tr>
    	<tr>
    		<td>客户编号</td>
    		<td>显示名称</td>
    		<td>真实姓名</td>
    		<td>客户密码</td>
    		<td>注册时间</td>
    		<td>操作</td>
    	</tr>
    	<c:forEach var="m" items="${page.result}">	
    	<tr>
    		<td>${m.customerId}</td>
    		<td>${m.showName}</td>
    		<td>${m.trueName}</td>
    		<td>${m.pwd}</td>
    		<td>${m.registerTime}</td>
    		<td>
    			<a href="${pageContext.request.contextPath}/customer/toUpdate/${m.uuid}">修改</a> |
    			<a href="${pageContext.request.contextPath}/customer/toDelete/${m.uuid}">删除</a>
    		</td>
    	</tr>
    	</c:forEach>
    	<tr>
    		<td colspan="6" align="center">
    			<input type="hidden" id="queryJsonStr" value='${wm.queryJsonStr}'/>
    			<myTag:page page="${page}"></myTag:page>
    		</td>
    	</tr>
    </table>
    
    </body>
    </html>
    

      

  • 相关阅读:
    求X的N次乘方
    用辗转相除法求两个正整数的最大公约数
    求两、三个数中较大者的函数
    电文加密问题
    C#纯数学方法递归实现货币数字转换中文
    查找二维数组的查找之杨氏矩阵
    IT公司笔经面经
    排序2计数排序,桶排序
    windows Concurrency Runtimewindows的并行编程模型
    <c++ primer>第五部分 高级主题
  • 原文地址:https://www.cnblogs.com/sunrunzhi/p/10118945.html
Copyright © 2011-2022 走看看