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

📄 choicesearch.jsp

📁 J2EE电子商务系统开发从入门到精通---基于Struts和Hibernate技术实现
💻 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>

⌨️ 快捷键说明

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