This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 243
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: RequestDispatcher null - cant find /j_spring_security_check
 
It's not a secret anymore!