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

📄 phototypeindex.jsp

📁 spring+webwork+iBatis做的VOD系统web端代码。值得学习MVC和持久层的人看。lib太大没上传。所以需要什么lib可要自己去下载。
💻 JSP
字号:
<%@ 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -