📄 index.jsp
字号:
<%@ page language="java" 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="center/movie/addMovie.jsp">新增影片</a>
</div>
<div>
共有
<ww:if test="pageBean.totalRecord != 0">
<ww:property value="pageBean.totalRecord"/>
</ww:if>
<ww:else>0</ww:else>
条记录
<a href="listMovie.action?currentPage=1">首页</a>
<ww:if test="currentPage == 1">
上一页
</ww:if>
<ww:else>
<a href="listMovie.action?currentPage=<ww:property value="currentPage - 1"/>">上一页</a>
</ww:else>
<ww:if test="pageBean.totalPage <= currentPage">
下一页
</ww:if>
<ww:else>
<a href="listMovie.action?currentPage=<ww:property value="currentPage + 1"/>">下一页</a>
</ww:else>
<a href="listMovie.action?currentPage=<ww:property value="pageBean.totalPage"/>">尾页</a>
当前第<ww:property value="currentPage"/>页
共有<ww:property value="pageBean.totalPage"/>页<br>
</div>
<div>
<div>
<table border="1">
<tr>
<td>影片名称</td>
<td>加入时间</td>
<td>操作</td>
</tr>
<ww:iterator value="pageBean.data">
<tr>
<td>
<a href="<ww:property value="id"/>"><ww:property value="cnName"/></a>
</td>
<td>
<ww:property value="createTime"/>
</td>
<td>
<a href="findMovie.action?mainkey=<ww:property value="id"/>">修改</a>
</td>
</tr>
</ww:iterator>
</table>
</div>
</div>
</div>
<div id="footer"></div>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -