Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RequestDispatcher null - cant find /j_spring_security_check

 
Mat Anthony
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have the following LoginBean that always returns null on a
RequestDispatcher dispatcher = ((ServletRequest) context.getRequest()).getRequestDispatcher("/j_spring_security_check");


My login.xhtml file is


applicationContext-security.xml


web.xml


Can anybody help.

Mat

 
Vyas Sanzgiri
Ranch Hand
Posts: 686
Chrome Netbeans IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why dont you post login form to /j_spring_security_check directly instead of using LoginBean. What is the use of LoginBean?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic