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

📄 voteselect.jsp~1~

📁 新闻网(news) 带使用说明书 可以用作课程设计
💻 JSP~1~
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.victor.domain.VoteActionForm"%>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.List"%>
<html>
<head>

<title>新闻人物的全部信息</title>
<style type="text/css">
<!--
body {
	background-color: #FFFFCC;
}
-->
</style></head>
<script>
function submitonce(theform){
if (document.all||document.getElementById){
for (i=0;i<theform.length;i++){
var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
tempobj.disabled=true
}
}
}
</script>
<%List list=(List)request.getAttribute("voteList");%>
<body>
<div align="center">
  <p>新闻人物的全部信息
</p>
  <p>&nbsp;</p>
  <table width="700" border="3" cellspacing="3" cellpadding="3">
    <tr>
      <td width="72">人物名称</td>
      <td width="72">人物籍贯</td>
      <td width="72">人物年龄</td>
      <td width="72">人物工作</td>
      <td width="72">简单介绍</td>
      <td width="122">操作</td>
    </tr>
<%for (int i=0;i<list.size();i++){
VoteActionForm vote=(VoteActionForm)list.get(i);
%>
    <tr>
      <td height="31"><%=vote.getName()%></td>
      <td><%=vote.getAddress()%></td>
      <td><%=vote.getCountry()%></td>
      <td><%=vote.getJop()%></td>
      <td><%=vote.getRemark();%></td>
      <td><form name="form" method="post" action="addVote.do?ID=<%%>" onSubmit="submitonce(this);return false">
        <input type="submit" name="Submit" value="&#25237;&#31080;">
      </form></td>
    </tr>
<%}%>
  </table>
  </div>
</body>
</html>

⌨️ 快捷键说明

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