我正在使用apache_j_securty_check进行登录身份验证,我提供了正确的用户名和密码,但其指向错误页面
下面是我的jsp表格
<form id="login-form" method="post" action='<%=response.encodeURL("j_security_check")%>'>
<h3><%=sw.getValue("_Loginpage_Title")%></h3>
<p id="signup"><%=sw.getValue("_Loginpage_SignUp")%></span>
<fieldset>
<div class="clearfix"></div>
<label for="username"><%=sw.getValue("_Username_CL")%></label>
<input type="text" name="j_username" id="j_username" />
<label for="password"><%=sw.getValue("_Password_CL")%></label>
<input type="password" name="j_password" id="j_password" />
<input checked="checked" id="remember" name="remember_login" type="checkbox" value="1" /> <label for="remember" class="check"><%=sw.getValue("_Loginpage_RememberLogin")%></label>
<p id="forgot"><a href='/emoadmin/recover-password.jsp<%=queryString%>'><%=sw.getValue("_Loginpage_ForgotPassword")%></a></p>
<div class="clearfix"></div>
</fieldset>
<div class="line">
<input type="submit" value="<%=sw.getValue("_Login")%>" id="loginSubmit" />
<% if(request.getParameter("site") != null && request.getParameter("site").equals("i"))
{%>
<p id="alert"><%=sw.getValue("_SiteDeactivated") %></p>
<% }%>
</div>
</form>