have to mention that this is an existing application that i'm trying to change
the front end to use stripes as part of an upgrade process
Date: Mon, 7 Apr 2008 16:50:32 -0400
From: [EMAIL PROTECTED]
To: [email protected]
Subject: Re: [Stripes-users] Accessing HttpSession stripes(method attached)
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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
_________________________________________________________________
Win 100’s of Virgin Experience days with BigSnapSearch.com
http://www.bigsnapsearch.com-------------------------------------------------------------------------
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