index.jsp没有错
<form action=login.jsp name=form1 method=post>
<table align=center width="314" height="59">
<tr bgcolor="#ffffff">
<td class="tablerow" height="25" width="239" bgcolor="#c6efff">用户名称 </td>
<td class="tablerow" height="25" width="52" bgcolor="#c6efff">
<input name="username" type="text" id="username" size="17" maxlength="15">
</tr>
<tr bgcolor="#ffffff">
<td class="tablerow" height="25" width="239" bgcolor="#c6efff">用户密码 </td>
<td class="tablerow" height="25" width="526" bgcolor="#c6efff">
<input name="userpassword" type="password" size="17" maxlength="15">
</tr>
</table>
<input type="submit" value="登录" name="submit">
<input type="submit" value="注册" name="zhuce">
<%
Connection con;
Statement sql, sql2;
ResultSet rs, rs2;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
} catch (ClassNotFoundException e) {