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

📄 watchstyle.jsp

📁 新闻网(news) 带使用说明书 可以用作课程设计
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="java.util.List"%>
<%@ page import="java.sql.*"%>
<%@ page import="com.victor.domain.NewsStyleActionForm"%>
<html>
<head>
<title>新闻详细类别的查看</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
}
td{
font-size:9pt;
}
.style1 {
	color: #FF9900;
	font-weight: bold;
}
-->
</style></head>
<script Language="JavaScript">
function projectDelete(date){
if(confirm("是否删除流水号为["+date+"]的一组数据吗?"))
window.location="deleteStyleAction.do?styleID="+date;
}
</script>
<%List list=(List)request.getAttribute("listStyle");%>
<body>
<table width="568" height="419"  border="0" cellpadding="2" cellspacing="1" bgcolor="#052754">
  <tr>
    <td align="center" valign="top" bgcolor="#FFFFFF">
	<br>
    <br>
    <span class="style1">新闻详细类别的查看</span><br>
    <br>
  <table width="496" border="0" cellpadding="2" cellspacing="1" bgcolor="#052754">
    <tr align="center" bgcolor="#0099cc">
      <td width="50" height="24">ID</td>
      <td width="127">详细类别的名称</td>
	  <td width="73">类型</td>
      <td width="146">添加的时间</td>
      <td width="74">操作</td>
    </tr>
<%for(int i=0;i<list.size();i++){
NewsStyleActionForm style=(NewsStyleActionForm)list.get(i);
%>
    <tr bgcolor="#ffffff">
      <td height="24"><%=style.getStyleID()%></td>
      <td><%=style.getStyleName()%></td>
      <td><%=style.getSTName()%></td>
	  <td><%=style.getStyleDate()%></td>
      <td align="center"><a href="selectOneStyleAction.do?styleID=<%=style.getStyleID()%>">修改</a>&nbsp; <a href="javascript:projectDelete('<%=style.getStyleID()%>')">删除</a></td>
    </tr>
<%}%>
  </table>
  <p><a href="typeAction.do">添加新的详细类别</a></p>	</td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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