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

📄 typewatch.jsp

📁 新闻网(news) 带使用说明书 可以用作课程设计
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="java.util.List"%>
<%@ page import="java.sql.*"%>
<%@ page import="com.victor.domain.NewsTypeActionForm"%>
<%
response.setHeader("Cache-Control","no-cache");
response.setHeader("Cache-Control","no-store");
response.setDateHeader("Expires",0);
response.setHeader("Pragma","no-cache");
%>
<html>
<head>
<title>查看全部类别的名称</title>
<style type="text/css">
body{
margin-left:0px;
margin-top:0px;
}
td{ font-size:9pt;}
</style>
</head>
<script Language="JavaScript">
function projectDelete(date){
if(confirm("是否删除流水号为["+date+"]的一组数据吗?"))
window.location="typeDeleteAction.do?ID="+date;

}
</script>
<%List typeList=(List)request.getAttribute("typeList");%>
<body>
<table width="568" height="419"  border="0" cellpadding="2" cellspacing="1" bgcolor="#052754">
  <tr>
    <td bgcolor="#FFFFFF" align="center" valign="top"><br>
<br>
<br>
 <p><strong style="color:#FF9900">查看全部类别的名称</strong></p>
  <table width="497" border="0" cellspacing="1" cellpadding="2" bgcolor="#052754">
    <tr align="center" bgcolor="#0099cc">
      <td width="60" height="24">ID</td>
      <td width="126">类别的名称</td>
      <td width="145">类别建立的时间</td>
      <td width="145" align="center">操作</td>
    </tr>
<%for(int i=0;i<typeList.size();i++){
NewsTypeActionForm newsTypeActionForm=(NewsTypeActionForm)typeList.get(i);
%>
    <tr bgcolor="#FFFFFF">
      <td height="24"><%=newsTypeActionForm.getTypeID()%></td>
      <td><%=newsTypeActionForm.getTypeName()%></td>
      <td><%=newsTypeActionForm.getTypeTime()%></td>
      <td><div align="center"><a href="typeSelectOneAction.do?ID=<%=newsTypeActionForm.getTypeID()%>">修改</a>&nbsp;&nbsp;&nbsp;<a href="javascript:projectDelete('<%=newsTypeActionForm.getTypeID()%>')">删除</a></div></td>
    </tr><%}%>
  </table>
  <p><a href="jsp/managerBack/newsTypeManager/typeInsert.jsp"><font style="font-size:9pt">添加类别名称</font></a></p>
	</td>
  </tr>
    </table>
 </body>
</html>

⌨️ 快捷键说明

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