<%@ page language="java" import="java.sql.*"%>
<%@ page contentType="text/html;charset=gb2312"%>
<html>
<head>
<title>×&cent;&sup2;á&Oacute;&Atilde;&raquo;§&ETH;&Aring;&Iuml;&cent;</title>
<meta http-equiv="Content-Type" content="text/html";charset=gb2312">
<script language="javascript" SRC="function.js">
</script>
<script language="javascript">
function check_input() {
  var name=trim(document.theform.name.value);
  var nickname=trim(document.theform.nickname.value);
  var password1=trim(document.theform.password1.value);
  var ask_password=trim(document.theform.ask_password.value);
  var password2=trim(document.theform.password2.value);
  var answer_password=trim(document.theform.answer_password.value);
  var true_name=trim(document.theform.true_name.value);
  var card=trim(document.theform.card.value);
  var phone=trim(document.theform.phone.value);
  var career=trim(document.theform.career.value);
  var email=trim(document.theform.email.value);
  var contact_address=trim(document.theform.contact_address.value);
  var zip=trim(document.theform.zip.value);
  var company_address=trim(document.theform.company_address.value);
if (trim(document.theform.name.value)=="") {
      alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;&Oacute;&Atilde;&raquo;§&Atilde;&ucirc;");
      return false;
       }
if(trim(document.theform.nickname.value)="") {
   alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;ê&Ccedil;&sup3;&AElig;!");
   return false;
}
if (trim(document.theform.true_name.value)=="") {
      alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;&Otilde;&aelig;&Ecirc;&micro;&ETH;&Otilde;&Atilde;&ucirc;");
      return false;
       }
if(trim(document.theform.card.value)="") {
   alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;&Eacute;í·&Yacute;&Ouml;¤&ordm;&Aring;!");
   return false;
}
if(!is_number(document.theform.card.value)) {
   alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;&Eacute;í·&Yacute;&Ouml;¤&ordm;&Aring;!(&Oacute;&Eacute;&Ecirc;&yacute;×&Ouml;×é&sup3;&Eacute;)");
   return false;
}
if(trim(document.theform.passworc1.value)=""){
   alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;&Atilde;&Uuml;&Acirc;&euml;! ");
   return false;
}
if(trim(document.theform.password2.value)="") {
   alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;&Egrave;·&Egrave;&Iuml;&Atilde;&Uuml;&Acirc;&euml;! ");
   return false;

if(document.theform.password1.value !=document.theform.password2.value) {
   alert("&Aacute;&frac12;&acute;&Icirc;&Ecirc;&auml;&Egrave;&euml;&micro;&Auml;&Atilde;&Uuml;&Acirc;&euml;&sup2;&raquo;&Ograve;&raquo;&Ouml;&Acirc;! ");
   return false;
}
if (trim(document.theform.contact_address.value)=="") {
      alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;&Aacute;&ordf;&Iuml;&micro;&micro;&Oslash;&Ouml;·");
      return false;
       }
if(trim(document.theform.phone.value)="") {
   alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;&Aacute;&ordf;&Iuml;&micro;&micro;&ccedil;&raquo;°!");
   return false;
}
if(!is_number(document.theform.phone.value)) {
   alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;&Aacute;&ordf;&Iuml;&micro;&micro;&ccedil;&raquo;°!(&Oacute;&Eacute;&Ecirc;&yacute;×&Ouml;×é&sup3;&Eacute;)");
   return false;
}
if (trim(document.theform.zip.value)=="") {
      alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;&Oacute;&Ecirc;&Otilde;&thorn;±à&Acirc;&euml;");
      return false;
    }
if (!is_number(document.theform.zip.value)) {
      alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;&Oacute;&Ecirc;&Otilde;&thorn;±à&Acirc;&euml;(&Oacute;&Eacute;&Ecirc;&yacute;×&Ouml;×é&sup3;&Eacute;)");
      return false;
  }
if(trim(document.theform.email.value)="") {
   alert("&Ccedil;&euml;&Igrave;&icirc;&ETH;&acute;E-mail&micro;&Oslash;&Ouml;·!");
   return false;
}
return true;
}
</script>
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>
<body bgcolor="#ffffff">
<div id="Layer1" style="position:absolute; left:10px; top:10px; width:160px; height:60px; z-index:1"><img src="image/hlbz1.jpg" width="160" height="60"></div>
<div id="Layer2" style="position:absolute; left:190px; top:10px; width:560px; height:60px; z-index:2"><img src="image/bg3.gif" width="560"height="60"></div>
<div id="Layer3" style="position:absolute; left:185px; top:142px; width:430px; z-index:3; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000; height: 173px"> 
  <div align="center">
<form action="register2.jsp" method="post" onsubmit="return check_input()">
  <table width="100%" border="0" bordercolor="#FFFF33" cellpadding="1">
        <tr bgcolor="#00CCFF"> 
          <td width="32%" height="21"> 
            <div align="center"><font color="#0000FF">&Oacute;&Atilde; &raquo;§ &Atilde;&ucirc;&pound;&ordm;</font></div>
          </td>
          <td width="68%" height="21"> 
            <input type="text" name="name" id="name">
            *<font size="2">&pound;¨&AElig;&auml;&Ouml;&ETH;&acute;&oslash;*&micro;&Auml;±&Oslash;&Igrave;&icirc;)</font></td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%" height="18"> 
            <div align="center"><font color="#0000FF">&Atilde;&Uuml; &Acirc;&euml;&pound;&ordm;</font></div>
          </td>
          <td width="68%" height="18"> 
            <input type="password" name="password1">
            * </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">&Egrave;·&Egrave;&Iuml;&Atilde;&Uuml;&Acirc;&euml;&pound;&ordm;</font></div>
          </td>
          <td width="68%"> 
            <input type="password" name="password2">
            * </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">ê&Ccedil; &sup3;&AElig;&pound;&ordm;</font></div>
          </td>
          <td width="68%"> 
            <input type="text" name="nickname">
            * </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">&Atilde;&Uuml;&Acirc;&euml;&Icirc;&Ecirc;&Igrave;&acirc;&pound;&ordm;</font></div>
          </td>
          <td width="68%"> 
            <input type="text" name="ask_password">
          </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">&Atilde;&Uuml;&Acirc;&euml;&raquo;&Oslash;&acute;&eth;&pound;&ordm;</font></div>
          </td>
          <td width="68%"> 
            <input type="text" name="answer_password">
          </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">&Otilde;&aelig;&Ecirc;&micro;&ETH;&Otilde;&Atilde;&ucirc;&pound;&ordm;</font></div>
          </td>
          <td width="68%">
            <input type="text" name="true_name">
            * </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">&Eacute;í·&Yacute;&Ouml;¤&ordm;&Aring;&pound;&ordm;</font></div>
          </td>
          <td width="68%">
            <input type="text" name="card">
            * </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">&Aacute;&ordf;&Iuml;&micro;&micro;&ccedil;&raquo;°&pound;&ordm;</font></div>
          </td>
          <td width="68%"> 
            <input type="text" name="phone">
            * </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">&Ouml;° &Ograve;&micro;&pound;&ordm;</font></div>
          </td>
          <td width="68%">
            <input type="text" name="career">
          </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">E-mail&pound;&ordm;</font></div>
          </td>
          <td width="68%">
            <input type="text" name="email">
            * </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">±&frac34;&Egrave;&Euml;&Euml;ù&Ocirc;&Uacute;&micro;&Oslash;&pound;&ordm;</font></div>
          </td>
          <td width="68%">
            <select name="location">
              <option value="&ordm;&Oacute;&Auml;&Iuml;" selected>&ordm;&Oacute;&Auml;&Iuml;</option>
              <option value="&ordm;&Oacute;±±">&ordm;&Oacute;±±</option>
              <option value="±±&frac34;&copy;">±±&frac34;&copy;</option>
              <option value="&Eacute;&frac12;&para;&laquo;">&Eacute;&frac12;&para;&laquo;</option>
            </select>
          </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">&Aacute;&ordf;&Iuml;&micro;&micro;&Oslash;&Ouml;·&pound;&ordm;</font></div>
          </td>
          <td width="68%">
            <input type="text" name="contact_address">
            * </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">&Oacute;&Ecirc;&Otilde;&thorn;±à&Acirc;&euml;&pound;&ordm;</font></div>
          </td>
          <td width="68%">
            <input type="text" name="zip">
            * </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td width="32%"> 
            <div align="center"><font color="#0000FF">&micro;&yen;&Icirc;&raquo;&micro;&Oslash;&Ouml;·&pound;&ordm;</font></div>
          </td>
          <td width="68%">
            <input type="text" name="company_address">
            * </td>
        </tr>
        <tr bgcolor="#00CCFF"> 
          <td height="14" colspan="2"> 
            <div align="center"><font color="#0000FF"> 
              <input type="submit" name="confirm" value="&Egrave;·&Egrave;&Iuml;">
              </font> 
              <input type="reset" name="reinput" value="&Ouml;&Oslash;&Igrave;&icirc;">
            </div>
          </td>
        </tr>
      </table>
    </form>
  </div>
</div>
<div id="Layer4" style="position:absolute; left:187px; top:124px; width:426px; height:20px; z-index:4; background-color: #999999; layer-background-color: #999999; border: 1px none #000000"> 
  <div align="center"><font color="#FFFFFF" face="&raquo;&ordf;&Icirc;&Auml;&ETH;&Acirc;&Icirc;&ordm;"><b><font size="4">&Oacute;&Atilde;&raquo;§×&cent;&sup2;á&ETH;&Aring;&Iuml;&cent;</font></b></font></div>
</div>
<font color="#FFFFFF"><font face="&raquo;&ordf;&Icirc;&Auml;&ETH;&Acirc;&Icirc;&ordm;"><b>&Oacute;&Atilde;&raquo;§×&cent;&sup2;á&ETH;&Aring;&Iuml;&cent;</b></font></font> 
<div id="layerl" style="position:absolrte; width:200px; height:63px; z-index:1; left: 75px; top:
14px"></div>
<div id="layer3" style="position:absolrte; width:363px; z-index:2; left: 315px; top:
15px"></div>
<div id="layer3" style="position:absolrte; width:628px; height:22px; z-index:3; left: 65px; top:
83px" align="center">
  <hr width="760" align="center" color:blue>
</div>
   
</body>
</html>   
在这里了。这个页面用超连接就不行。

解决方案 »

  1.   

    用啥数据库呀?
    不会用xml吧!!!
      

  2.   

    是不是你的代理服务器有问题,不能解析你的url地址啊?
      

  3.   

    几个问题:
    ①将这个页面改成HTML页面测试一下是否成功
    ②不使用代理服务器是否可以正常连接?(比如拨号)
    ③是不是其他HTML和JSP页面都正常,只有这一个出问题
    ④把浏览器中的原始错误信息贴出来看看
      

  4.   

    该成HTML可以呀!所有的JSP页面都不正常,但是我用DREAMREVER4。0的预览功能时,JSP显示正常。调试环境是:WINDOWS NT 4.0+RESIN+JDK1.3+IIS4.0
      请多指教.
      

  5.   

    改成HTML有什么用,改了也白改。你还是检查一下你本地的测试环境和服务器运行环境有何差异。
      

  6.   

    to xsilver:
       那应该怎样配置RESIN服务器呢?
      

  7.   

    sorry RESIN我没用过,我只会用weblogic和Oracle9iAs
      

  8.   

    如果你所有的JSP页面(包括没有连接数据库的JSP)都无法执行,我很是怀疑你上传的哪个网站是否支持JSP?
      

  9.   

    我在本地测试都无法正常使用呀!是我的RESIN配置有问题吗?具体应该怎样配置,请指教!