longin.html:登录页面,此处action引用**/**类型的地址,JSP可以用${ pageContext.request.contextPath }/LS
<!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">
</head>
<body>
<form action="/lianxiti/LS",method="post">
用户名: <input name="username" type="text" /><br/>
密码:<input name="password" type="password" /><br/>
<input type="submit" value="提交" id="bt" />
</for