帮我看看这个问题的原因
源代码如下: 
  <%@   page   contentType= "text/html;   charset=gb2312 "   language= "java "      
errorPage= " "   %>  
  <!DOCTYPE   HTML   PUBLIC    "-//W3C//DTD   HTML   4.01   Transitional//EN "    "http://www.w3.org/TR/html4/loose.dtd ">  
  <html>  
  <head>  
  <meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 ">  
  <title> 注册 </title>  
  </head>    
  <script   language= "javascript ">  
 function   regist() 
 {   
       if(document.form1.company.value== " "   ||   document.form1.company.value==null) 
       window.alert( "请输入公司名! ");   
       if(document.form1.principal.value== " "   ||   document.form1.principal.value==null)      
       window.alert( "请输入负责人! ");   
       if(document.form1.operation.value== " "   ||   document.form1.operation.value==null)   
       window.alert( "请输入公司性质! ");         
       if(document.form1.password.value== " "   ||   document.form1.password.value=null)      
       window.alert( "请输入密码! ");         
       if(document.form1.tel.value== " "   ||   document.form1.tel.value==null)   
       window.alert( "请输入电话号码! ");   
       if(document.form1.email.value== " "   ||   document.form1.email.value==null)         
       window.alert( "请输入电子邮件! ");   
 }     
  </script>    
  <body>  
  <form   name= "form1 "   method= "post "   action= " ">  
        <table   width= "574 "   height= "222 "   border= "1 "   align= "center ">  
              <tr>  
                    <td   colspan= "2 ">  <div   align= "center ">  
                                <h1>  <strong> 注册 </strong>  </h1>  
                    </div>  </td>  
              </tr>  
              <tr>  
                    <td   width= "211 ">  
                          <div   align= "right "> 公司名   :    </div>  </td>  
                    <td   width= "347 ">  <input   type= "text "   name= "company ">  </td>  
              </tr>  
              <tr>  
                    <td>  
                          <div   align= "right "> 负责人   :    </div>  </td>  
                    <td>  <input   type= "text "   name= "principal ">  </td>  
              </tr>