<form name = "loginIn.jsp" action = "loginForm" method = "get">
<table>
<tr>
<td>用户名:</td>
<td><input type = "text" name = "userName"></td>
</tr>
<tr>
<td>密码:</td>
<td><input type = "password" name = "password"></td>
</tr>
<tr>
<td colspan = "2"><input type = "submit" value = "登陆"></td>
</tr>
</table>
</form>
额额。刚发现action和name写反了,,,汗,,,