Farouk,

Can you show us the code that creates the "loginBean" in your sessionListener. Can you show us where and how you define your session listener?

Regards,
David

Farouk Alhassan wrote:

haha.
its sometimes funny how much frustration can cause. that was all mixed up...I have been on this since 10am and its 10pm here. i have left work and still jumping from site to site looking for a solution.

this is what i intended to say: i will copy the method

  @DefaultHandler
public Resolution convert() throws Exception{ LoginBean login = (LoginBean) getContext().getRequest().getSession().getAttribute("loginBean"); if(login == null)System.out.println("USR IS NULL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
    init();
    if(login.isLoggedIn())
    return new ForwardResolution("/financials02.jsp");
    else
return new ForwardResolution("/login.jsp");
  }
it keeps printing USR IS NULL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to