form base authentication, after submit, servlet is not available
Hi all,
I m using the "j_security_check" way to deal with my login,
(please notice, I m NOT facing the "j_security_check not found" error)
Everything works just fine before I submit the login page
(Servlet controller works fine, I cannot access the protected page and <action-mappings> are still alive...)
<security-constraint>
<web-resource-collection>
<web-resource-name>Intranet</web-resource-name>
<url-pattern>/intranet/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>usr</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/intranet/intranet-index.jsp?mode=login</form-login-page>
<form-error-page>/intranet/intranet-index.jsp?mode=login</form-error-page>
</form-login-config>
</login-config>
But after I submit the correct username and password...
"HTTP Status 404 - Servlet controller is not available" this nightmare is shown...
I found my servlet is dead although I successfully login
(I can see the hidden link made by <logic:present role="usr">)
I use Tomcat 5.0.28, Struts 1.2.2
Please help!!!
George

