• Post Reply Bookmark Topic Watch Topic
  • New Topic

RequestDispatcher null - cant find /j_spring_security_check  RSS feed

 
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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!