📄 a1.jsp
字号:
<%@ page
language="java"
import="java.util.*"
contentType="text/html; charset=gbk"
%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html locale="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="/css/base.css" rel="stylesheet" type="text/css">
<script language="javascript">
function doSubmit1(start) {
document.A1.action="/A1.do?method=find&start="+start;
document.A1.submit();
}
function sub()
{
document.A1.action="/A1.do?method=edit";
document.A1.submit();
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>试卷管理</title>
</head>
<body>
<html:form action="A1.do">
<table width="80%" border="0" align="center" cellpadding="4" cellspacing="0">
<tr>
<td><span class="font_title">试卷管理</span></td>
</tr>
</table>
<br>
<center>
<html:errors property="table"/>
<table width="80%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#7AA1E6">
<tr align="center" bordercolor="1" bgcolor="#FFFFFF">
<td width="10%"><div align="center">试卷ID</div></td>
<td width="30%"><div align="center">试卷名称</div></td>
<td width="40%"><div align="center">试卷操作</div></td>
<td><div align="center">选中</div></td>
</tr>
<logic:present name="value">
<logic:iterate id="lists" name="value" property="rs">
<tr align="center" bordercolor="1" bgcolor="#FFFFFF">
<td><div align="center">
<bean:write name="lists" property="TTestid"/>
</div></td>
<td><div align="center">
<bean:write name="lists" property="TTestname"/>
</div></td>
<td><div align="center">
<html:link href="/A1.do?method=go&id=${lists.TTestid}">
编辑试卷信息
</html:link>
<html:link href="/a100.do?method=find&id=${lists.TTestid}">
编辑试卷考题
</html:link>
<html:link href="/c10.do?method=around&id=${lists.TTestid}">
发送试卷
</html:link>
</td>
<td>
<html:checkbox property="op_check" value="${lists.TTestid}"/>
</td>
</tr>
</logic:iterate>
</logic:present>
<br><br>
<tr align="center" bordercolor="1" bgcolor="#FFFFFF">
<td height="25" colspan="4">
<html:button property="" styleClass="inputstyle2" onclick="window.location.href='/A1.do?method=go&id=999999'" value="新建试卷"/>
<html:submit onclick="sub();" styleClass="inputstyle2" value="删除试卷"/>
<html:button property="" styleClass="inputstyle2" onclick="window.location.href='/WEB-INF/jsp/main.do'" value="返回"/>
</td>
</tr>
</table>
<table width="80%" border="0" align="center" cellpadding="4" cellspacing="0">
<logic:present name="value">
<tr bordercolor="0" >
<td>
<div align="left">
页数:
<bean:write name="value" property="currentPage" />
/
<bean:write name="value" property="totalPage" />
每页:
<bean:write name="value" property="range" />
总数
<bean:write name="value" property="count" />
</div>
</td>
<td align="right">
<bean:write name="value" property="fenye" filter="false" />
</td>
</tr>
</logic:present>
</table>
</html:form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -