Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTTP Status 404 - /j_spring_security_check

 
sam White
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is my login page:



login controller:


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic