Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

about j_security_check  RSS feed

 
ravindra patil
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have created one welcome file named index.html and provided it action attribute as j_security_check password as j_password that is i want to test
FORM base authentication but when i hit submit button browser show 404 no resource available i also configure my web.xml so tell me what is wrong
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the username , is that j_username ?
 
Bosun Bello
Ranch Hand
Posts: 1512
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For form-based authentication to work, the HTML form given by the
form-login-page must have an ACTION attribute of j_security_check, a
username textfield named j_username, and a password field named
j_password.

If you have it as above and still having problems, then post your web.xml file. May be there is something that's missing.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!