</tr>
<tr class="zi9pt">
<td colspan=2><div align="right" id="result" style="font-size:12px;color=red">提示:用户帐号,不能包含空格、</div></td>
</tr>
<tr class="zi9pt">
<td align="right">密码:</td>
<td><input type="password" value="" id="pswd" name="pswd"/></td>
</tr>
<tr class="zi9pt">
<td align="right">确认密码:</td>
<td><input type="password" value="" id="repswd" name="repswd"/></td>
</tr>
<tr class="zi9pt">
<td colspan=2 align=center><input type="submit" value=" 确 定 "/></td>
</tr>
</tbody>
</table>
</form>
</body>
</html>
4.2 Servlet类CheckUserName.java
package czz.com;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.DriverManager;
import java.sql.SQLException;
|