:) Thanks for the help Wendy, I was looking at the wrong object, it wasn't a typo. Yet another reason why coding at 8pm on a Friday is a bad idea.
On 10/8/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "Faisal Mahmoud" <[EMAIL PROTECTED]> > > > Secondly, in my ContactSupportAction class (subclass of struts > > Action), I attempt to retrieve this bean from the session and call > > it's getEmail() method. However, the result of > > (UserInfoBean) request.getAttribute("userInfoBean"); > > returns a NULL reference. > > You say you're putting it in the session, but the code above tries to > retrieve it from the request. Unless that's a typo, try this instead: > > session.getAttribute( "userInfoBean" ); > > -- > Wendy Smoak > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://www.quidprocode.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]