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.
This isn't something that someone on a list of forum can help you with. This is basic debugging.
If getAttribute is returning null, then you need to examine the code that binds "result" to request scope. Also, remember, that request, as its name suggests, is only good for one request/response cycle. If you bind something to request scope and then try to retrieve it in another request, you will get a null result.