File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 237
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