这个jsp页面中的action=j_security_check是怎么回事啊??代码在里面
这是登陆的部分,整个系统用jboss作服务器
<html>
<head>
<title>CyberTester Login</title>
<link rel="stylesheet" href="cybertester.css" type="text/css" />
<script type="text/javascript" >
<!--
function submitform() {
var theform = document.getElementById("loginform");
theform.j_username.value = document.getElementById("loginEmail").value;
theform.j_password.value = document.getElementById("loginPassword").value;
theform.submit();
}
// -->
</script>
</head>
<body style="text-align:center;">
<div style="text-align:left;"><img src="images/logo.png" alt="CyberTester logo" /></div>
<h1>Login to CyberTester</h1>
<div id="loginBox" style="text-align:center;width:350px;border:1px solid #000055;">
<table width="100%" border="0" >
<tr>
<td rowspan="2"><img src="images/key_big.gif" alt="Key" /></td>
<td>User Email : </td>
<td><input type="text" id="loginEmail" name="loginEmail" /></td>
</tr>
<tr>
<td>Password : </td>
<td><input type="password" id="loginPassword" name="loginPassword" /></td>
</tr>
<tr>
<td> </td>
<td><input type="button" value="Login" onclick="submitform()" /></td>
<td> </td>
</tr>
</table>
</div>
<form name="loginform" id="loginform" method="POST" action="j_security_check" >
<input type="hidden" name="j_username" value="" />
<input type="hidden" name="j_password" value="" />
</form>
</body>
</html>