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

📄 regloginpage.jsp

📁 Oracle的J2EE Sample
💻 JSP
字号:
<%--
 * @author  Umesh
 * @version 1.0
 *
 * Development Environment : Oracle9i JDeveloper
 * 
 * Name of the File : RegLoginPage.jsp
 *
 * Creation/Modification History  :
 *    Umesh     26-Apr-2002      Created
 *
 * Overview of Application        :
 *
 *   This page is part of the IBFBS application.
 *   This page is displayed to the user after valid Sign Up. 
 *   The new user account number is displayed using
 *   which the User can log in into this FBS.
 *
--%>

<%@page contentType="text/html;charset=WINDOWS-1252" language="java" %>

<html>
<head>
<title>OTN Financial Brokerage System : Register Login Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=WINDOWS-1252">
<link rel="stylesheet" href="includes/contents.css" type="text/css">

<script language="JavaScript">

function validateForm() {
 formObj = document.LOGINFORM;
 if (isNaN((formObj.AccountNumber.value))) {
   alert("Account Number Must be a valid Integer");
   return false;
 } else
  formObj.submit();
}

function cancelForm() {
  document.LOGINFORM.AccountNumber.value = "";
  document.LOGINFORM.Password.value = "";
}

</script>

</head>

<body bgcolor="#FFFFEA">

<jsp:include page="TitleGifs.jsp" flush="TRUE"/>

<table width="100%" border="1" cellpadding="0" cellspacing="0" bgcolor="#FFFFEA" bordercolor="#008000" height="80%">
  <tr><td valign="top"><table width="100%" cellpadding="0" cellspacing="0">
  <tr>
    <%
      Integer accNo = (Integer) session.getAttribute("DOSIGNUP.RESPONSE");
      session.removeAttribute("DOSIGNUP.RESPONSE");
    %>
    <td bordercolor="#FFFFEA" align="center" valign="top">
      <br>
      <b><font face="Verdana, Times New Roman, Times, serif" color="#990000">
        Congratulations!!!.
      </font></b>
      <br><br>
      <b><font face="Verdana, Times New Roman, Times, serif" color="#008000">
        You have been allocated IBFBS Account, your Account Number is : <%= accNo %>
      </font></b>
    </td>
  </tr>
  <tr>
    <td bordercolor="#FFFFEA">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" align="center" bordercolor="#FFFFEA" >
      <table width="40%" border="1" bordercolor="#008000" cellpadding="0" cellspacing="0">
        <tr>
          <td>
            <table width="100%" cellpadding="2" cellspacing="2">
              <tr> 
                <th bordercolor="#FFFFEA" bgcolor="#008000" class="mainText">Enter Login Information</th>
              </tr>
            </table>
            <table width="100%" cellpadding="2" cellspacing="2">
              <form name="LOGINFORM" method="POST" action="controllerservlet">
                <tr>
                  <td>&nbsp;</td>
                  <td>&nbsp;</td>
                </tr>
                <tr> 
                  <th class="leftHead" align="right">Account Number&nbsp;&nbsp;</th>
                  <td> 
                    <input type="text" name="AccountNumber" size="12">
                    <input type="hidden" name="EVENTNAME" value="LOGIN" >
                  </td>
                </tr>
                <tr>
                  <td>&nbsp;</td>
                  <td>&nbsp;</td>
                </tr>
                <tr> 
                  <th class="leftHead" align="right">Password&nbsp;&nbsp;</th>
                  <td> 
                    <input type="password" name="Password" size="12">
                  </td>
                </tr>
                <tr>
                  <td>&nbsp;</td>
                  <td>&nbsp;</td>
                </tr>                
                <tr>
                  <td>
                    <div align="right"><img src="images/submit.gif" alt="Submit" onMouseUp="validateForm();"></div>
                  </td>
                  <td><img src="images/cancel.gif" alt="Cancel" onMouseUp="cancelForm();"></td>
                </tr>
              </form>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr> 
  </table></td></tr>
</table>

<jsp:include page="Footer.jsp" flush="false"/>  

</body>
</html>

⌨️ 快捷键说明

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