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.
Welcome to JavaRanch! Please UseCodeTags when posting code or configuration; unformatted code is surprisingly difficult to read, and you'll find you're more likely to get help when your code is as easy to read as possible. Thanks!
Hi sam mit,
you are getting null pointer exception then it means you are not getting any value in userId. kindly check whether userId is getting populated or not. I think its not getting populated. and you are trying to call method on null so its giving you the exception. check at line 20 and 21 print it and see if you get value for user id and password in loginAction.
hope this helps
[Vipassana] - It is seeing the reality as it is, And not as you want it to be.!!!