<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<!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=utf-8">
<title>Insert title here</title>
</head>
<body>
<form action="LoginServlet" method="
post">
用户名:<input name="username" type="text"><br>
密码:<input name="password" type="password"><br>
<!-- 提交,submit类型,按钮; -->
<input name="提交" type="submit">
</form>
</body>
</html>
抓的确实是提交的这个表单 路径都没有错 为什么就不是post方式呢?小白求大神解答...