phototypeindex.jsp

来自「spring+webwork+iBatis做的VOD系统web端代码。值得学习M」· JSP 代码 · 共 67 行

JSP
67
字号
<%@ page contentType="text/html;charset=GBK"%>
<%@ taglib prefix="ww" uri="/webwork" %>

<!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=GBK">
<link href="../../css/design.css" rel="stylesheet" type="text/css">

<title>图片类型</title>
</head>
<body>
<div id="main">
	<div id="header">
		图片类型
	</div>
	<div id="content">
		<div>
			<a href="addPhotoType.jsp">添加图片类型</a>
		</div>
		<div>
			共有
				<ww:if test="pageBean.totalRecord != 0">
					<ww:property value="pageBean.totalRecord"/>
				</ww:if>
				<ww:else>0</ww:else>
			条记录&nbsp;&nbsp;&nbsp;
			<a href="listPhotoType.action?currentPage=1">首页</a>&nbsp;&nbsp;&nbsp;
				<ww:if test="currentPage == 1">
					上一页
				</ww:if>
				<ww:else>
					<a href="listPhotoType.action?currentPage=<ww:property value="currentPage - 1"/>">上一页</a>
				</ww:else>&nbsp;&nbsp;&nbsp;
				<ww:if test="pageBean.totalPage <= currentPage">
					下一页
				</ww:if>
				<ww:else>
					<a href="listPhotoType.action?currentPage=<ww:property value="currentPage + 1"/>">下一页</a>
				</ww:else>
				&nbsp;&nbsp;&nbsp;<a href="listPhotoType.action?currentPage=<ww:property value="pageBean.totalPage"/>">尾页</a>
				&nbsp;&nbsp;&nbsp;当前第<ww:property value="currentPage"/>页&nbsp;&nbsp;&nbsp;	
			共有<ww:property value="pageBean.totalPage"/>页<br>
		</div>
		
		<div>
			<table border="1">
				<tr>
					<td>类型名称</td>
					<td>备注</td>
					<td>操作</td>
				</tr>
				<ww:iterator value="pageBean.data">
					<tr>
						<td><a href="findPhotoType.action?mainkey=<ww:property value="id"/>"/><ww:property value="name"/></a></td>
						<td><ww:property value="remark"/></td>
						<td><a href="findPhotoType.action?mainkey=<ww:property value="id"/>">修改</a></td>
					</tr>					
				</ww:iterator>
			</table>
		</div>
	</div>
	<div id="footer">
	</div>
</div>
</body>
</html>

⌨️ 快捷键说明

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