aspose file tools*
The moose likes Spring and the fly likes HTTP Status 404 - /j_spring_security_check Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "HTTP Status 404 - /j_spring_security_check" Watch "HTTP Status 404 - /j_spring_security_check" New topic
Author

HTTP Status 404 - /j_spring_security_check

sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
Hi with spring mvc 3.0.5 and spring security 4.3.0, my login thrown the following error exception:

HTTP Status 404 - /j_spring_security_check



here is my security-config.xml file:



servlet-context.xml file:


web.xml file:


IF I change the url-pattern to /*, it will break part of my controller mapping, but with / mapping, it breaks the security login mapping.

Any suggestion is very well appreciated.
Thanks
Sam
sam White
Ranch Hand

Joined: Feb 18, 2011
Posts: 208
Here is my login page:



login controller:


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP Status 404 - /j_spring_security_check