📄 studentlist.jsp
字号:
<%@ page contentType="text/html; charset=utf-8" %>
<%@ include file="/common/taglibs.jsp"%>
<%@ page import="java.util.List"%>
<%@ page import="com.test.*"%>
<?xml version="1.0" encoding="utf-8" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Insert title here</title>
<script type="text/javascript" src="${ctx}/javascript/global.js"></script>
<link rel="stylesheet" type="text/css" href="${ctx }/css/style.css" /></head>
<script language="javascript">
<!--
function Delid(){
if (confirm( '删除该条记录 ! 确定吗 ? '))
{
return true;
}
else
{
return false;
}
}
/**
function DelItems(theForm,theAction){
if(confirm("确定要删除选定项?")){
theForm.action="DaysTitleAdminServlet?action="+theAction;
theForm.submit();
}
}**/
//-->
</script>
<body>
<div class="div_NavigationBar">
<QuickOATag:ReturnBar name="学生列表" returnable="true" clear="true" />
</div> <div class="div_ContentTable">
<div class="div_ControlBar">
<input type="button" value="添加" onclick="location.href='StudentController.do?action=newstudent'" />
</div>
<div class="div_MessageBar">
<div id="message" class="message" style="display:none"></div>
</div>
<ec:table items="studentList" var="student" action="${ctx}/MISPackWeb/Student/StudentController.do" showPagination="true" showStatusBar="true" title="" view="compact" imagePath="${ctx}/images/table/zh_CN/*.gif">
<ec:row highlightRow="true">
<ec:column property="title" title="姓名" style="text-align: center;" sortable="false" filterable="false" >
<a href="StudentController.do?action=viewstudent&dataId=${student.dataId}">
${student.studentName}
</a>
</ec:column>
<ec:column property="content" title="分数" style="text-align: center;" sortable="false" filterable="false" >
${student.englishScore}
</ec:column>
<ec:column alias="view" title="查看" width="5%" style="text-align: center;" sortable="false" filterable="false" >
<a href="StudentController.do?action=viewstudent&dataId=${student.dataId}"><img src="../../images/search_icon.gif" alt="查看" width="16" height="16" border="0" title="查看" align="absmiddle"></A>
</ec:column>
<ec:column alias="edit" title="编辑" width="5%" style="text-align: center;" sortable="false" filterable="false" >
<a href="StudentController.do?action=editstudent&dataId=${student.dataId}"><img src="../../images/icon_u_edit.gif" width="16" height="16" border="0" align="absmiddle" alt="编辑" title="编辑"></A>
</ec:column>
<ec:column alias="dele" title="删除" width="5%" style="text-align: center;" sortable="false" filterable="false" >
<a href="StudentController.do?action=delstudent&dataId=${student.dataId}" onClick="return Delid()" ><img src="../../images/icon_u_del.gif" width="16" height="16" border="0" align="absmiddle" alt="删除" title="删除" ></A>
</ec:column>
</ec:row>
</ec:table>
</div>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -