tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frink, Alexander " <>
Subject problem with jsp-examples/security/protected form-based login example
Date Wed, 05 Apr 2006 14:58:43 GMT

I noticed the following strange behaviour while playing with the form-based
login example under http://localhost:8080/jsp-examples/security/protected/ on a
freshly unpacked Tomcat core archive (tested with 5.0.28, 5.0.30beta and 5.5.16
under Linux and Windows with JDK 1.4.2, always identical behaviour):

open http://localhost:8080/jsp-examples/security/protected/ -> login.jsp
displayed (OK)
log in as tomcat/tomcat -> You are logged in as remote user tomcat... (OK)
log off by clicking here -> login.jsp displayed (OK)
log in in as foo/bar -> Invalid username and/or password, please try again. (OK)
click on try again -> login.jsp displayed (OK)
log in as tomcat/tomcat -> login.jsp displayed (username and password reset)
log in as tomcat/tomcat -> 404 error (VERY STRANGE)

HTTP Status 404 - /jsp-examples/security/protected/j_security_check

type Status report

message /jsp-examples/security/protected/j_security_check

description The requested resource
(/jsp-examples/security/protected/j_security_check) is not available.
Apache Tomcat/5.0.28

Could anybody please explain what is going on here? Configuration issue in
web.xml? Bug in the j_security_check servlet? Bug in the login.jsp?


Alexander Frink

Debeka Hauptverwaltung
Abteilung IS/Q
Ferdinand-Sauerbruch-Str. 18
56058 Koblenz

Telefon  (0261) 498-1455
Telefax  (0261) 498-1496


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message