【JSP开源代码栏目提醒】:网学会员,鉴于大家对JSP开源代码十分关注,论文会员在此为大家搜集整理了“choicesearch.jsp”一文,供大家参考学习!
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<%@page import = "java.util.*"%>
<%@page import = "model.vote.hibernate.*"%>
<%
request.setCharacterEncoding("gb2312");
List choiceList = (List)session.getAttribute("choicelist");
Theme theme = (Theme)session.getAttribute("theme");
%>
<%@ include file="..\taglibs.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>STORE SYSTEM</title>
<style type="text/css">
<!--
.style1 {font-family: "华文新魏";
font-size: 36px;
}
-->
</style>
</head>
<body>
<html:errors/>
<table width="503" height="56" border="0" align="center">
<tr bgcolor="#DFDFFF">
<th height="25" colspan="4"><div align="center">议题选项信息管理--修改</div></th>
</tr>
<%
for (int i=0; i<choiceList.size(); i++) {
Choice choice = (Choice)choiceList.get(i);
%>
<tr bgcolor="#FFFFCA">
<td width="222" height="18"><div align="right">选项 <%=i+1%></div></td>
<td width="134"><span class="TitleColor">
<input name="name" type="text" id="password" value="<%=choice.getName()%>">
</span></td>
<td width="66"><div align="center"><a href="/EMIS/choiceselect.do?themeid=<%=theme.getId()%>&choiceid=<%=choice.getId()%>"><img src="vote/image/modify.gif" width="47" height="18" border="0"></a></div></td>
<td width="67"><div align="center"><a href="/EMIS/choicedelete.do?themeid=<%=theme.getId()%>&choiceid=<%=choice.getId()%>"><img src="vote/image/delete.gif" width="47" height="18" border="0"></a></div></td>
</tr>
<%
}
%>
</table>
<form name="form1" method="post" action="/EMIS/choiceinsert.do?type=choicemodify&themeid=<%=theme.getId()%>">
<table width="503" height="50" border="0" align="center">
<tr bgcolor="#DFDFFF">
<td height="26" colspan="2"><div align="center">添加议题新选项</div></td>
</tr>
<tr bgcolor="#FFFFCA">
<td width="179" height="18"><div align="right"><span class="TitleColor">议题选项</span></div></td>
<td width="314"><span class="TitleColor">
<input type="text" name="name">
<input type="submit" name="Submit" value="添加 ...">
</span></td>
</tr>
</table>
</form>
<form name="form1" method="post" action="/EMIS/themesearch.do?type=select">
<table width="503" height="25" border="0" align="center">
<tr bgcolor="#DFDFFF">
<td width="489" height="21"><div align="left">
<div align="center">
<input type="submit" name="Submit" value="完成">
</div>
</div></td>
</tr>
</table>
</form>
</body>
</html>
上一篇:
choicemodify.jsp
下一篇:
asp论文:浅论ASP在多媒体网页课件制作中的应用