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

📄 operatoradd.jsp

📁 精美的画面。完善的功能
💻 JSP
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%
 if(session.getAttribute("midentity")==null)
    {
      //  request.setAttribute("result","您没有权力进入此页");
       // getServletContext().getRequestDispatcher("display.jsp").forward(request,response);
        response.sendRedirect("FlowerIndex.jsp");
    }
%>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=GBK">
    <title>untitled</title>
    <link href="css/jdeveloper.css" rel="stylesheet" media="screen"/>
  </head>
  <body>
    <table cellspacing="0" cellpadding="0" border="0" width="578" align="left">
      <tr>
        <td>
          <H1 align="center">管理员信息添加</H1>
          <form action="operatorservlet" method="post">
            <table cellspacing="0" cellpadding="0" border="1" width="60%" align="center">
              <tr>
                <td width="29%">
                  <FONT color="#ff9966">管理员编号:</FONT>
                </td>
                <td width="71%">
                  <input type="text" name="operatorid"/>
                </td>
              </tr>
              <tr>
                <td width="29%">
                  <FONT color="#ff9966">管理员名称:</FONT>
                </td>
                <td width="71%">
                  <input type="text" name="operatorname"/>
                </td>
              </tr>
              <tr>
                <td width="29%">
                  <FONT color="#ff9966">管理员密码:</FONT>
                </td>
                <td width="71%">
                  <input type="password" name="password"/>
                </td>
              </tr>
              <tr>
                <td width="29%">
                  <FONT color="#ff9966">请确认密码:</FONT>
                </td>
                <td width="71%">
                  <input type="password" name="repassword"/>
                </td>
              </tr>
              <tr>
                <td width="29%">
                  <FONT color="#ff9966">管理员类别:</FONT>
                </td>
                <td width="71%">
                  <select name="operatortype">
                    <option value="普通管理员">普通管理员</option>
                    <option value="超级管理员">超级管理员</option>
                  </select>
                </td>
              </tr>
              <tr>
                <td width="29%">
                  <FONT color="#0033cc">系统提示:</FONT>
                </td>
                <td width="71%">
                
                <%
                    
                  String result="请注意系统提示";
                  if(request.getAttribute("result")!=null)
                  {
                    result=request.getAttribute("result").toString();
                      
                  }
                %>
                <font color="red"><%=result%></font>
                </td>
              </tr>
              <tr>
                <td width="29%">&nbsp;</td>
                <td width="71%">
                  <input type="submit" value="确认"/>
                  <input type="reset" value="重置"/>
                  <a href="ManagerMain.jsp">返回管理员主页</a> 
                  <input type="hidden" name="action" value="add"/>
                </td>
              </tr>
            </table>
            <P>&nbsp;</P>
          </form>
          <P>&nbsp;</P>
          <P>&nbsp;</P>
          <P>&nbsp;</P>
        </td>
      </tr>
    </table>
  </body>
</html>

⌨️ 快捷键说明

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