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

📄 reg.jsp

📁 大型数据库课程设计源码
💻 JSP
字号:
<%@ page language="java"  pageEncoding="gb2312"%>
 <%! int e=0; %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
 
    
    <title>帐号注册</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<SCRIPT language="JavaScript">
<!--

	var layers = document.layers, style = document.all, both = layers || style, idme=908601;
	if (layers) { layerRef = 'document.layers'; styleRef = ''; } if (style) { layerRef = 'document.all'; styleRef = '.style'; }

	function writeOnText(obj, str) {
	  if (layers) with (document[obj]) { document.open();  document.write(str); document.close(); }
	  if (style) eval(obj+'.innerHTML= str');
	}
	//以下是输出的内容,自己修改即可。
	var dispStr = new Array(
		"<font color=red size=3>欢迎光临精彩JavaScript世界...</font><br><font color=green size=3>你知道怎样在你的网页中做一个很酷的网页菜单吗?</font><br><font color=red size=3>你知道怎样让你的网页背景向上或向下移动吗?</font><br><font color=blue size=3>你知道怎样在你的主页中任意位置显示一个时钟吗?</font><br><font color=red size=3>你知道怎样在主页中做特效文字吗?</font><br><font color=black size=3>你知道怎样做一个很cool的日历吗?</font>"
	);

	var overMe=0;

	function txtTyper(str, idx, idObj, spObj, clr1, clr2, delay, plysnd) {
	  var tmp0 = tmp1 = '', skip = 0;
	    if (both && idx <= str.length) {
		if (str.charAt(idx) == '<') { while (str.charAt(idx) != '>') idx++; idx++; }
		if (str.charAt(idx) == '&' && str.charAt(idx+1) != ' ') { while (str.charAt(idx) != ';') idx++; idx++; }
		tmp0 = str.slice(0,idx);
		tmp1 = str.charAt(idx++);

		if (overMe==0 && plysnd==1) {
		  if (navigator.plugins[0]) {
		    if (navigator.plugins["LiveAudio"][0].type=="audio/basic" && navigator.javaEnabled()) {
			document.embeds[0].stop();
			setTimeout("document.embeds[0].play(false)",100); }
		  } else if (document.all) {
			ding.Stop();
			setTimeout("ding.Run()",100);
		  }
		  overMe=1;
		} else overMe=0;

		writeOnText(idObj, "<span class="+spObj+"><font color='"+clr1+"'>"+tmp0+"</font><font color='"+clr2+"'>"+tmp1+"</font></span>");
		setTimeout("txtTyper('"+str+"', "+idx+", '"+idObj+"', '"+spObj+"', '"+clr1+"', '"+clr2+"', "+delay+" ,"+plysnd+")",delay);
	  }
	}

	function init() {
		txtTyper(dispStr[0], 0, 'ttl0', 'ttl1', '#339933', '#99FF33', 50, 0);
	}

	// -->
</SCRIPT>
	
	<script language="javascript">
	<!--
		function valide(accform){
			if(accform.acc.value==""){
				alert("请输入您的帐号!");
				accform.acc.focus();
				return false;
			}
		}
	-->
	</script>
  </head>
  
  <body onload="onload=init()"><div align="center" dir="ltr">
  <DIV class=ttl1 id=ttl0><SPAN class=ttl1></SPAN></DIV>
  
  <p>
  <form method="post" action="/netservice/servlet/CheckAccount" name="accform" onsubmit="javascript:return valide(this);">
  <center>请输入您的帐号:</center><p>
  <table width="40%" height="40%" align="center" border="0" bgcolor="#ffff80">
  <tr><td width="140px" align="right">您的帐号:</td>
  		<td align="left"><input type=text name="acc" maxlength="20"></td>
  </tr>
  <tr>
  <td colspan="2" align="center"><input type="Submit" name=btn value="确认"></td>
  
  </tr>
  </table>
  <%if(request.getAttribute("error")!=null){ %>
 <%= (String)request.getAttribute("error")%>
 <%} %>
</form>


   </div>
  </body>
</html>

⌨️ 快捷键说明

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