*
The moose likes Spring and the fly likes RequestDispatcher null - cant find /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 "RequestDispatcher null - cant find /j_spring_security_check" Watch "RequestDispatcher null - cant find /j_spring_security_check" New topic
Author

RequestDispatcher null - cant find /j_spring_security_check

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 232
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

Joined: Jun 16, 2007
Posts: 686

Why dont you post login form to /j_spring_security_check directly instead of using LoginBean. What is the use of LoginBean?


===Vyas Sanzgiri===
My Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RequestDispatcher null - cant find /j_spring_security_check
 
Similar Threads
Problems with Spring Security and JSF2
JSF 1.2 + Authentication with Spring Security 3.0.5
RichFaces + Spring Security -- Problem Load RichFaces
Spring security 3.0
AccessDeniedException not going to accessDenied.xhtml