The problem is, when I goto the login.jsp and click 'submit' the first time, it just reloads the login.jsp page, the next time I get a 404 error:-
HTTP Status 404 - /webroot/j_security_check
type Status report
description The requested resource (/webroot/j_security_check) is not available.
Has this functionality changed in Tomcat 7 to previous versions?
Any tips greatly appreciated.
Cheers in advance
posted 4 years ago
Yesterday I fight with same problem. Problem for me was that nothing was mapped to /j_security_check (servlet or page). I had only mapping with some servlets like '*.html', '*.jsp', '*.js', ... but none match /j_security_check. Because of this tomcat 7 decide not to start even filters which should be started '/*' (filter mapping isn't enough for tomcat 7). I add following line to web.xml and everything start to work: